| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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" <david DOT karr AT cacheflow DOT com> |
| To: | "'cygwin AT cygwin DOT com'" <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) |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |