This is the mail archive of the
cygwin
mailing list for the Cygwin project.
bash_completion for perl disabled
- From: Reini Urban <rurban at x-ray dot at>
- To: Cygwin List <cygwin at cygwin dot com>
- Date: Thu, 27 Dec 2007 18:26:50 +0100
- Subject: 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/