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

2011-07-26 Thread Andreas Schwab
"Clark J. Wang" writes: > ``-o bashdefault'' works fine for me, thanks. But from the Bash manual I > think ``-o default'' should also work: > > -o defaultUse readline's default filename completion if the compspec > generates no matches. Globbing is a shell feature. Andreas. -- Andreas Sch

Re: sorry--this is my question

2011-07-26 Thread Roman Rakus
On 07/23/2011 02:17 PM, Joachim Schmitz wrote: Jan Schampera wrote: On 22.07.2011 18:12, the mad doctor kaeding wrote: is this a bug? echo goodbye\ cruel\ world\! goodbye cruel world! echo "goodbye cruel world!" bash: !": event not found echo "goodbye cruel world\!" goodbye cruel world\!

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

2011-07-26 Thread Chet Ramey
On 7/25/11 10:21 PM, Clark J. Wang wrote: > On Tue, Jul 26, 2011 at 12:00 AM, Andreas Schwab wrote: > >> "Clark J. Wang" writes: >> >>> Here the cannot expand ``*.d'' to ``long-dir-name.d''. Bug? >> >> You need to add -o bashdefault for that. >> > > ``-o bashdefault'' works fine for me, thanks.

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

2011-07-26 Thread Clark J. Wang
On Wed, Jul 27, 2011 at 12:39 AM, Chet Ramey wrote: > > Globbing is not part of readline's set of filename completions. It is > implemented by the shell, hence the need for the bashdefault option. > Thanks all for the explanation. > > -- > ``The lyf so short, the craft so long to lerne.'' - Ch