Pergunta

On a fresh Ubuntu 12.04 install, my terminal tab-complete settings are configured such that the options are cycled through upon the second tab rather than what I am used to (listing all options and only completing what can be determined)

For example, in a directory containing listPixels.html and listPublishers.html, I want the a tab complete from

l 

to simply complete

listP 

and then a second tab should list all possible matches rather than cycling through listPixels.html and listPublishers.html on each subsequent tab.

Foi útil?

Solução

You have menu-complete turned on. Simply rebind Tab to complete.

bind '"\C-i":complete'

Outras dicas

I believe that's a setting in your .inputrc.

Use the line:

set show-all-if-ambiguous On
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top