zsh and dot-directory completions
Posted on August 27, 2014 (Last modified on March 9, 2022) • 1 min read • 58 wordsI blog so I don’t forget. At least that’s what I’m telling me right now 🙂 .
So. To make zsh complete - for example - “cd ..” (it should append a “/” on TAB, right?) set the following in the .zshrc:
setopt autocd
zstyle ':completion:*' special-dirs true # please complete "cd .._/_" ...
Great. Of course from Stackoverflow.