[Top][All Lists]

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

Re: [Help-bash] Bash equivalent of ZSH 'zstyle ':completion:*' menu sele

From: diddy
Subject: Re: [Help-bash] Bash equivalent of ZSH 'zstyle ':completion:*' menu select'
Date: Mon, 20 Jul 2015 20:33:32 -0400

It's not the same, but the closest I can think of is by using the two below 
settings in combination.
The first setting displays the list of possibilities with the first press of 
the tab.
The second setting lets you cycle through the matches with each subsequent 
press of tab.

put this in your .inputrc
set show-all-if-ambiguous on

put this in your .bash_profile
bind TAB:menu-complete

> On Jul 20, 2015, at 17:26, john smith <address@hidden> wrote:
> Someone on SO has posted a screenshot of this feature:
> On 7/20/15, john smith <address@hidden> wrote:
>> In ZSH the following command gives a nice feature of highlighting
>> completions and cycling through them using a tab and arrow keys, try
>> it yourself:
>> $ autoload -U compinit && compinit
>> $ zstyle ':completion:*' menu select
>> Is it possible to achieve something similar in Bash?
>> --
>> <address@hidden>
> -- 
> <address@hidden>

reply via email to

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