F12: bash-completion issues?

JD jd1008 at gmail.com
Fri Aug 13 00:10:50 UTC 2010


  On 08/12/2010 04:43 PM, Patrick O'Callaghan wrote:
> On Thu, 2010-08-12 at 15:41 -0700, Daniel B. Thurman wrote:
>> But these fails:
>> # List<Tab>
>> # ./List<Tab>
> Is ListAvailable an executable? If not, bash will not try to expand it
> as the first word.
>
>> # yum list available>  List<Tab>
> Check your bash completion settings (info bash). If you do say:
>
> # ls>  List<Tab>
>
> does it work? Completion is "smart" i.e. the action can depend on the
> specific command. Try:
>
> # yum<Tab>
>
> and see what happens. It should list all of yums options.
>
> poc
>

List all of yum's options?
You mean as in yum --help?
If that's what you meant, then No, that's not what it does.
If you have a space between yum and tab, then it will
only list the names of the files or dirs in  your current working
dir.
If there is no space, then it will list all the commands
that start with the word yum, based on your PATH
variable.





More information about the users mailing list