Nano sintaxe destacando no Mac OSX não funciona

1

Eu instalei a versão Macports do editor de texto nano

sudo port install nano +colors

e agora eu tenho toda a sintaxe destacando arquivos nanorc

ls /opt/local/share/nano



drwxr-xr-x  31 root  admin  1054 30 Set 19:51 ./
drwxr-xr-x  14 root  admin   476 30 Set 19:51 ../
-rw-r--r--   1 root  admin   783 20 Nov  2012 asm.nanorc
-rw-r--r--   1 root  admin  1504 20 Nov  2012 awk.nanorc
-rw-r--r--   1 root  admin  1514 20 Nov  2012 c.nanorc
-rw-r--r--   1 root  admin   828 20 Nov  2012 cmake.nanorc
-rw-r--r--   1 root  admin   331 20 Nov  2012 css.nanorc
-rw-r--r--   1 root  admin   680 20 Nov  2012 debian.nanorc
-rw-r--r--   1 root  admin  2032 20 Nov  2012 fortran.nanorc
-rw-r--r--   1 root  admin  3139 20 Nov  2012 gentoo.nanorc
-rw-r--r--   1 root  admin   723 20 Nov  2012 groff.nanorc
-rw-r--r--   1 root  admin   124 20 Nov  2012 html.nanorc
-rw-r--r--   1 root  admin   610 20 Nov  2012 java.nanorc
-rw-r--r--   1 root  admin   248 20 Nov  2012 makefile.nanorc
drwxr-xr-x   6 root  admin   204 30 Set 19:51 man-html/
-rw-r--r--   1 root  admin   264 20 Nov  2012 man.nanorc
-rw-r--r--   1 root  admin   219 20 Nov  2012 mgp.nanorc
-rw-r--r--   1 root  admin    95 20 Nov  2012 mutt.nanorc
-rw-r--r--   1 root  admin  1110 20 Nov  2012 nanorc.nanorc
-rw-r--r--   1 root  admin  1696 20 Nov  2012 objc.nanorc
-rw-r--r--   1 root  admin   791 20 Nov  2012 ocaml.nanorc
-rw-r--r--   1 root  admin   242 20 Nov  2012 patch.nanorc
-rw-r--r--   1 root  admin  1438 20 Nov  2012 perl.nanorc
-rw-r--r--   1 root  admin   687 20 Nov  2012 php.nanorc
-rw-r--r--   1 root  admin   682 20 Nov  2012 pov.nanorc
-rw-r--r--   1 root  admin   527 20 Nov  2012 python.nanorc
-rw-r--r--   1 root  admin  1475 20 Nov  2012 ruby.nanorc
-rw-r--r--   1 root  admin   691 20 Nov  2012 sh.nanorc
-rw-r--r--   1 root  admin  2110 20 Nov  2012 tcl.nanorc
-rw-r--r--   1 root  admin   141 20 Nov  2012 tex.nanorc
-rw-r--r--   1 root  admin   260 20 Nov  2012 xml.nanorc

então criei um arquivo de configuração ~ / .nanorc

## Nanorc files
include "/opt/local/share/nano/nanorc.nanorc"
## C/C++
include "/opt/local/share/nano/c.nanorc"
## Cascading Style Sheets
include "/opt/local/share/nano/css.nanorc"
...

Isso está funcionando apenas para arquivos .nanorc ... O que estou fazendo de errado?

    
por SolidSnake 30.09.2013 / 21:39

0 respostas