Jump to content

bash tab completion in gentoo


Recommended Posts

in gentoo if i hit tab in a terminal the internal speaker beeps. if i hit tab a second time, bash shows all possible completions. in mandrake however, i only have to press tab once to see the possible completions. does anyone know how to change tab completion behavior in gentoo so it behaves like mandrake?

Link to comment
Share on other sites

The exact thing you're looking for can be achieved by:

~$ bind 'set show-all-if-ambiguous on'

 

But if you want to have the same full behavior you had in mandrake, then copy the mandrake's /etc/inputrc to your gentoo.

 

If you just want it in a single account, then run from your user's profile:

 

export INPUTRC=/path/to/mandrake.inputrc

bind -f $INPUTRC

 

HTH

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...