[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ``complete -d -o default cd'' issue

From: Chet Ramey
Subject: Re: ``complete -d -o default cd'' issue
Date: Tue, 26 Jul 2011 12:39:16 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11

On 7/25/11 10:21 PM, Clark J. Wang wrote:
> On Tue, Jul 26, 2011 at 12:00 AM, Andreas Schwab <address@hidden>wrote:
>> "Clark J. Wang" <address@hidden> writes:
>>> Here the <TAB> cannot expand ``*.d'' to ``long-dir-name.d''. Bug?
>> You need to add -o bashdefault for that.
> ``-o bashdefault'' works fine for me, thanks. But from the Bash manual I
> think ``-o default'' should also work:
> -o default    Use readline's default filename completion if the compspec
> generates no matches.

Globbing is not part of readline's set of filename completions.  It is
implemented by the shell, hence the need for the bashdefault option.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]