Search code examples
zshzshrczsh-completion

Why so many autosuggestions?


When I want to traverse between directories, zsh is throwing a screenfull of tab completions. It's making the experience very bad. How can I get only few suggestions?


Solution

  • Turning the comment conversation into an answer.

    1. Check your PATH and CDPATH variables for directories you don't need.
    2. Assign stripped down values somewhere in your .zshrc.
    3. A good value for PATH is the system default, PATH=$(/usr/bin/getconf PATH).
    4. Add to your liking, maybe $HOME/bin and /usr/local/bin if they exist.