Fly, Penguin!

I blog so I don't forget.

zsh and dot-directory completions

0 minute read #*nix #solved #zsh #cli

I 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.