Вопрос

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.

Это было полезно?

Решение

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

bind '"\C-i":complete'

Другие советы

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

Use the line:

set show-all-if-ambiguous On
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top