1
0
mirror of https://github.com/scopatz/nanorc synced 2024-09-28 17:09:50 +02:00

update documentation and installation script for v2.9 branch

This commit is contained in:
Ondřej Ešler 2019-07-23 16:02:32 +02:00
parent adfc6adccc
commit 3a9bb13bf4
2 changed files with 5 additions and 5 deletions

View File

@ -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.

View File

@ -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
}