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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...