1 --- runtime/filetype.vim 2005-03-25 01:47:52.000000000 +0000
2 +++ runtime/filetype.vim 2005-03-25 01:48:53.000000000 +0000
4 " Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc.
5 " Gentoo ebuilds are actually bash scripts
6 au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash_profile*,.bash_logout*,*.bash,*.ebuild call SetFileTypeSH("bash")
7 +au BufNewFile,BufRead /*/bash*completion*/* call SetFileTypeSH("bash")
8 au BufNewFile,BufRead .kshrc*,*.ksh call SetFileTypeSH("ksh")
9 au BufNewFile,BufRead /etc/profile,.profile*,*.sh,*.env call SetFileTypeSH(getline(1))