delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/27/12:27:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4773E05A.5030807@x-ray.at>
Date: Thu, 27 Dec 2007 18:26:50 +0100
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7
MIME-Version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: bash_completion for perl disabled
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------020906010102010302020608
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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/

--------------020906010102010302020608
Content-Type: text/x-diff;
 name="bash_completion-noperl.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="bash_completion-noperl.diff"

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()
 {


--------------020906010102010302020608
Content-Type: text/plain; charset=us-ascii

--
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/
--------------020906010102010302020608--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019