Mac Terminal Auto Complete
- Type in terminal
nano ~/.inputrc
-
Paste the following on separate lines
set completion-ignore-case on set show-all-if-ambiguous on TAB: menu-complete
- Hit Control+O to save changes to .inputrc followed by control+X to quit
- Open a new Terminal window or tab, or type “login” to open a new session with the rules in effect
- Type and hit the tab key
Src: http://osxdaily.com/2012/08/02/improve-tab-completion-in-mac-os-x-terminal/
Put this in your ~/.inputrc
:
set show-all-if-ambiguous on
You'll need to restart your shell (for example by opening a new terminal window or typing exec /bin/bash
).