[Top][All Lists]

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

Re: bash tab variable expansion question?

From: Roger
Subject: Re: bash tab variable expansion question?
Date: Mon, 5 Sep 2011 02:59:20 -0800
User-agent: Mutt/1.5.21 (2010-09-15)

> On Mon, Sep 05, 2011 at 12:40:02AM -0800, Roger wrote:
>>The option works, as far as I can see.
>>"ls $HOM" completes to "ls $HOME " instead of "ls $HOME/", though.
>On Gentoo here, "echo $HO" does complete to "echo $HOME", but "ls $HO"
>fails to complete here.
>(It is enabled here "$ eselect bashcomp list |grep coreutils".  Just to
>verify, I just wiped $HOME/.bash_completion.d/ and renabled everything and
>still no completion using /bin/ls.)

Here's what I have defined for complete:

$ complete  |grep ls
complete -o default -F _longopt ls


reply via email to

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