Shell tab-completion and other helpful command-line tricks
kassube at gmx.net
Sat Jan 24 15:36:45 UTC 2009
Derek Broughton wrote:
> Jonas Norlander wrote:
> > 2009/1/24 Nils Kassube <kassube at gmx.net>:
> >> Donn wrote:
> >>> On Saturday, 24 January 2009 10:12:41 Nils Kassube wrote:
> >>> > 2. The command completion doesn't work within quotes. Using the
> >>> > file name above it wouldn't work if I type this:
> >>> >
> >>> > ls "is<tab>
> >>> >
> >>> > So if you want to use command completion, don't use quotes.
> >>> Works fine for me....
> >> Oops, now it works here as well. I must have mistyped it when I
> >> tried it earlier this morning, maybe it was a lack of coffee?
> >> Anyway, sorry - and scratch that part.
> > That on the other hand don't work for me, neither in Konsole or on a
> > "pure" console.
> Nor me - and I really wouldn't have expected it to. Since bash
> explicitly prevents expansion of anything inside double quotes, it
> seems perfectly normal that bash completion can't work.
Meanwhile I have tested it with the LiveCD of both 8.04 and 8.10. With
8.04 my example above (ls "is<tab>) works but not with 8.10. Possibly
that is the reason why my first test this morning didn't work but the
second test did work.
More information about the kubuntu-users