On 7/25/11 10:21 PM, Clark J. Wang wrote: > On Tue, Jul 26, 2011 at 12:00 AM, Andreas Schwab <sch...@linux-m68k.org>wrote: > >> "Clark J. Wang" <dearv...@gmail.com> 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 c...@case.edu http://cnswww.cns.cwru.edu/~chet/