[jboss-as7-dev] cli terminal changes

Tristan Tarrant ttarrant at redhat.com
Fri May 11 07:44:01 EDT 2012


On 05/09/2012 02:08 PM, Galder Zamarreño wrote:
> One thing I love of tab completion in zsh (as opposed to bash) is the following: Imagine that as you say you have both 'file' and 'file2'
>
> The first time I do: f + tab, it will show: file
>
> But if I click tab again, so: f + tab + tab, it will give me: file2
>
> If there was a file3, doing: f + tab + tab + tab will give me: file3
>
> …etc
>

You can get this with bash by adding the following to your ~/.bashrc / 
~/.bash_login

bind '"\t":menu-complete'

Tristan


More information about the jboss-as7-dev mailing list