SOURCES: vim-ft-bash.patch (NEW) - set syntax for /etc/bash_completion file

glen glen at pld-linux.org
Thu Apr 2 18:35:30 CEST 2009


Author: glen                         Date: Thu Apr  2 16:35:30 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- set syntax for /etc/bash_completion file

---- Files affected:
SOURCES:
   vim-ft-bash.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/vim-ft-bash.patch
diff -u /dev/null SOURCES/vim-ft-bash.patch:1.1
--- /dev/null	Thu Apr  2 18:35:31 2009
+++ SOURCES/vim-ft-bash.patch	Thu Apr  2 18:35:25 2009
@@ -0,0 +1,11 @@
+--- vim72/runtime/filetype.vim~	2008-12-27 04:25:56.000000000 +0200
++++ vim72/runtime/filetype.vim	2009-04-02 19:14:10.972877140 +0300
+@@ -1682,7 +1682,7 @@
+ " Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc.
+ " Gentoo ebuilds are actually bash scripts
+ au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash_profile*,.bash_logout*,*.bash,*.ebuild call SetFileTypeSH("bash")
+-au BufNewFile,BufRead /*/bash*completion*/* call SetFileTypeSH("bash")
++au BufNewFile,BufRead /*/bash*completion,/*/bash*completion*/* call SetFileTypeSH("bash")
+ au BufNewFile,BufRead .kshrc*,*.ksh call SetFileTypeSH("ksh")
+ au BufNewFile,BufRead /etc/profile,.profile*,*.sh,*.env call SetFileTypeSH(getline(1))
+ 
================================================================


More information about the pld-cvs-commit mailing list