the syntax highlight support files is in : /usr/share/nano/ add one to ~/.nanorc like this : include /usr/share/nano/sh.nanorc create ~/.nanorc if not exists