Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <2C08D4EECBDED41184BB00D0B747334202FB4424@exchanger.cacheflow.com> From: "Karr, David" To: "'cygwin AT cygwin DOT com'" Subject: Configure Bash to only list directories for completion on "cd" co mmand? Date: Mon, 4 Jun 2001 08:35:42 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" This morning I noticed the information about how to configure Bash's completion facilities. I was able to configure completion on the "cd" command so that if I'm in one directory which has a directory named "java" and a file named "joe.lib", and I type "cd j" and TAB, it will just fill in "java", and ignore "joe.lib". I did this with "complete -o dirnames -d cd". However, when I configure Bash to show me the POSSIBLE completions, with either Alt-? or setting "show-all-if-ambiguous" to "on", then it still lists "joe.lib" in the possible completions. Is it possible to configure the completions list so it will only show the possibilities it will actually use? -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple