autocompletecommand-line-interfaceiterm2

How to enable autocomplete in iTerm2


Let's say I'm in my root directory, and I have a User folder that I can cd into. In my default Mac terminal, I can just type cd U + tab, and it autocompletes to cd Users/. How do I get this to work in iTerm2?

It used to work just fine in iTerm2, but I must have changed a setting somewhere that disabled it, and I cannot figure out how to get it back.


Solution

  • Autocomplete in iTerm2 activates by pressing cmd + ;