Способ 1
1 |
nano /etc/nanorc |
Раскомментируем строки
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
## Nanorc files include "/usr/share/nano/nanorc.nanorc" ## C/C++ include "/usr/share/nano/c.nanorc" ## HTML include "/usr/share/nano/html.nanorc" ## TeX include "/usr/share/nano/tex.nanorc" ## Quoted emails (under e.g. mutt) include "/usr/share/nano/mutt.nanorc" ## Patch files include "/usr/share/nano/patch.nanorc" ## Manpages include "/usr/share/nano/man.nanorc" ## Groff include "/usr/share/nano/groff.nanorc" ## Perl include "/usr/share/nano/perl.nanorc" ## Python include "/usr/share/nano/python.nanorc" ## Ruby include "/usr/share/nano/ruby.nanorc" ## Java include "/usr/share/nano/java.nanorc" ## Assembler include "/usr/share/nano/asm.nanorc" ## Bourne shell scripts include "/usr/share/nano/sh.nanorc" ## POV-Ray include "/usr/share/nano/pov.nanorc" |
Способ 2
1 |
nano ~/.nanorc |
Добавляем строки
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
include "/usr/share/nano/nanorc.nanorc" include "/usr/share/nano/tex.nanorc" include "/usr/share/nano/patch.nanorc" include "/usr/share/nano/man.nanorc" include "/usr/share/nano/groff.nanorc" include "/usr/share/nano/perl.nanorc" include "/usr/share/nano/python.nanorc" include "/usr/share/nano/ruby.nanorc" include "/usr/share/nano/java.nanorc" include "/usr/share/nano/asm.nanorc" include "/usr/share/nano/sh.nanorc" include "/usr/share/nano/pov.nanorc" include "/usr/share/nano/c.nanorc" include "/usr/share/nano/html.nanorc" |