bug-bash
[Top][All Lists]
Advanced

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

Re: How to autocomplete after 'which'?


From: Marc Herbert
Subject: Re: How to autocomplete after 'which'?
Date: Fri, 21 May 2010 17:19:26 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4

Le 21/05/2010 16:25, Peng Yu a écrit :
> When I type something after 'which', something means a command.
> However, bash doesn't do command completion for the argument after
> 'which'. Is there a way to configure bash behave depending on the
> context (in this case, do autocomplete after 'which')?

By the way it is better to use "type" instead of "which". "which" is
often misleading, compare for instance:

type pwd
which pwd

"which" is misleading in many other cases.





reply via email to

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