mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 17:15:40 +01:00
update documentation and installation script for v2.9 branch
This commit is contained in:
parent
adfc6adccc
commit
3a9bb13bf4
@ -54,11 +54,11 @@ where ``$install_path`` is ``/usr/share/nano-syntax-highlighting`` or ``~/.nano/
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
Finally, you can run an automatic installer using the following code::
|
||||
|
||||
$ curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh
|
||||
$ curl https://raw.githubusercontent.com/scopatz/nanorc/v2.9/install.sh | sh
|
||||
|
||||
or alternatively::
|
||||
|
||||
$ wget https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh -O- | sh
|
||||
$ wget https://raw.githubusercontent.com/scopatz/nanorc/v2.9/install.sh -O- | sh
|
||||
|
||||
*Note -
|
||||
some syntax definitions which exist in Nano upstream may be preferable to the ones provided by this package.
|
||||
|
@ -7,7 +7,7 @@ if [ ! "$(command -v unzip)" ]; then
|
||||
fi
|
||||
|
||||
_fetch_sources(){
|
||||
wget -O /tmp/nanorc.zip https://github.com/scopatz/nanorc/archive/master.zip
|
||||
wget -O /tmp/nanorc.zip https://github.com/scopatz/nanorc/archive/v2.9.zip
|
||||
if [ ! -d ~/.nano/ ]
|
||||
then
|
||||
mkdir ~/.nano/
|
||||
@ -15,8 +15,8 @@ _fetch_sources(){
|
||||
|
||||
cd ~/.nano/ || exit
|
||||
unzip -o "/tmp/nanorc.zip"
|
||||
mv nanorc-master/* ./
|
||||
rm -rf nanorc-master
|
||||
mv nanorc-v2.9/* ./
|
||||
rm -rf nanorc-v2.9
|
||||
rm /tmp/nanorc.zip
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user