Log:Nano update
Jump to navigation
Jump to search
- Centos package was only 2.3. Needed a more recent version to support better syntax highlighting.
- Downloaded v4.0 from https://www.nano-editor.org/dist/v4/
- In home directory, ran
./configure
,make
,sudo make install
- Confirmed new
nano --version
was 4.0.- Note it is installed in
/usr/local/bin
so root PATH still used the old version. Updated with symlink, old binary is nano2.
- Note it is installed in
- Downloaded syntax repo from https://github.com/scopatz/nanorc to home folder
- Created and updated
~/.nanorc
file accordingly, to use the new files - Confirmed the PHP highlighting looks much better :)