문제

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