Usually in a Unix/Linux terminal when you press tab it will autocomplete with several options and then it will list the options below for you to select. This is a great feature if you spend a lot of time in the terminal. You could install ZSH to get these features or if you are like me and like to keep things simple, you can enable autocomplete in the mac terminal using bash.
Enable auto-complete in Mac Os terminal
- 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 exit nano
- Open a new Terminal window or tab to open a new session with autocomplete enabled
- Type and hit the tab key
Let me know if this is helpful in the comments below!