Hm... , , , , ; nano , ~/.nanorc.
, , nano, -, php - ~/.nanorc, , ; , ~/.nanorc ( #), php !
!:)
!
EDIT: nano:
As noted above, syntax coloring is forcibly switched using a switch --syntax; to see which syntaxes are available:
grep 'include' /etc/nanorc |
grep -v '^#' |
sed 's_.*/\(.*\)\.nanorc"_\1_'
The result of this command:
nanorc
c
css
debian
gentoo
html
...
To enhance the syntax for nanoork, you use:
nano --syntax=nanorc /usr/share/nano/nanorc.nanorc
.. or force bash shell script syntax coloring (especially useful with bashrc):
nano --syntax=sh ~/.bashrc
sdaau source
share