- Use pico, nano, vi or whatever your favorite text editor is to edit/create .inputrc, I’ll use pico for this walkthrough.
pico .inputrc
- Paste in the following three lines of rules:
set completion-ignore-case on
set show-all-if-ambiguous on
TAB: menu-complete
- Press Control+O to save changes to .inputrc followed by Control+X to quit
- Close and reopen Terminal for the rules to take effect
- Start typing a path or command and press the Tab key to see this feature in action
沒有留言:
張貼留言