This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bash_completion for perl disabled


bash_completion failing to complete files for perl annoyed me too much, so I recommend to disable it completely. files are more important than options. options do work, but files not.

apply the patch and source /etc/bash_completion and perl bash_completion for files work.
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://helsinki.at/ http://spacemovie.mur.at/
diff -bu /etc/bash_completion~ /etc/bash_completion
--- /etc/bash_completion~	2007-12-27 17:22:29.470747400 +0000
+++ /etc/bash_completion	2007-12-27 17:22:29.470747400 +0000
@@ -5205,7 +5205,7 @@
 			-n -a -F -l -0 -I -m -M -P -S -x -i -e ' -- $cur ) )
     return 0
 }
-complete -F _perl $filenames perl
+# complete -F _perl $filenames perl
 
 _perldoc()
 {

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]