Reputation: 301
I found some questions and answers on stackoverflow but nothing worked for me.
Upvotes: 3
Views: 1088
Reputation: 301
My solution is to put this into ~/.zshrc:
zstyle ':completion:*' special-dirs true
autoload -Uz compinit && compinit
This works for me on macOS 10.15.4 with zsh 5.7.1.
I couldn't answer or comment on the exiting because my 'reputation' was too low.
Upvotes: 5