--- filetype.vim.old Thu Sep 27 09:36:02 2001 +++ filetype.vim Wed Oct 17 07:26:31 2001 @@ -951,6 +951,9 @@ au BufNewFile,BufRead /etc/profile,.profile*,*.sh,*.env call SetFileTypeSH(getline(1)) au BufNewFile,BufRead .login*,.cshrc*,csh.cshrc,csh.login,csh.logout,.tcshrc*,*.csh,*.tcsh,.alias setf csh +" Gentoo ebuilds are actually bash scripts +au BufNewFile,BufRead *.ebuild call SetFileTypeSH("bash") + fun! SetFileTypeSH(name) if a:name =~ '\' let b:is_kornshell = 1