On Thu, 16 Dec 2010, Sylvain Rabot wrote: > On Thu, 2010-12-16 at 14:22 -0800, Jakub Narebski wrote: > > Sylvain Rabot <sylvain@xxxxxxxxxxxxxx> writes: > > > # alternate extensions, see /etc/highlight/filetypes.conf > > > 'h' => 'c', > > > + map { $_ => 'sh' } qw(bash zsh), > > > > Good idea. > > Does ksh, csh can be highlighted as sh too ? My /etc/highlight/filetypes.conf does include only $ext(sh)=bash All of bash, zsh and ksh are POSIX shell (sh) compatibile, so sh syntax (which is according to my /usr/share/highlight/langDefs/sh.lang file "Bash script language definition file" ;-)) should work. csh IIRC isn't. So therefore I am not sure if csh can be highlighted correctly using sh syntax. -- Jakub Narebski Poland -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html