From ed8d78b74826221d67671cc74359213b626fbc8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20E=C5=A1ler?= Date: Tue, 23 Jul 2019 16:57:23 +0200 Subject: [PATCH] fix installation from git repo --- Readme.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Readme.rst b/Readme.rst index e6ee250..3bd6367 100644 --- a/Readme.rst +++ b/Readme.rst @@ -13,15 +13,15 @@ These should be placed inside of the ``~/.nano/`` directory. Or for system-wide installation ``/usr/share/nano-syntax-highlighting/``. In other words:: - git clone git@github.com:scopatz/nanorc.git ~/.nano + git clone --single-branch --branch=v2.9 git@github.com:scopatz/nanorc.git ~/.nano *Note - if you have any issues (ssh was not properly configured), alternatively use:: - git clone https://github.com/scopatz/nanorc.git ~/.nano + git clone --single-branch --branch=v2.9 https://github.com/scopatz/nanorc.git ~/.nano *System wide will look like so*:: - sudo git clone https://github.com/scopatz/nanorc.git /usr/share/nano-syntax-highlighting/ + sudo git clone --single-branch --branch=v2.9 https://github.com/scopatz/nanorc.git /usr/share/nano-syntax-highlighting/ **NOTE**: \< and \> are regular character escapes on macOS. The bug's fixed in Nano, but this might be a problem if you are using an older version. If this is the case, replace them respectively with [[:<:]] and [[:>:]].