bash_completion.patch 693 B

123456789101112
  1. diff -Nur vim72-old/runtime/filetype.vim vim72/runtime/filetype.vim
  2. --- vim72-old/runtime/filetype.vim 2008-10-18 01:14:23.000000000 +0300
  3. +++ vim72/runtime/filetype.vim 2008-10-18 01:15:01.000000000 +0300
  4. @@ -1677,6 +1677,7 @@
  5. " Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc.
  6. " Gentoo ebuilds are actually bash scripts
  7. au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash_profile*,.bash_logout*,*.bash,*.ebuild call SetFileTypeSH("bash")
  8. +au BufNewFile,BufRead */etc/bash*completion*/* call SetFileTypeSH("bash")
  9. au BufNewFile,BufRead .kshrc*,*.ksh call SetFileTypeSH("ksh")
  10. au BufNewFile,BufRead /etc/profile,.profile*,*.sh,*.env call SetFileTypeSH(getline(1))