Mastodon Mastodon - zsh and dot-directory completions
 logo
  • Home 
  • Tags 
  • Blog posts 
  1. Home
  2. Blog posts
  3. zsh and dot-directory completions

zsh and dot-directory completions

Posted on August 27, 2014  (Last modified on March 9, 2022) • 1 min read • 58 words
*Nix   Solved   Zsh   Cli  
*Nix   Solved   Zsh   Cli  
Share via

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.

 Fedora, docker and self-signed SSL certs
Synology and Git, II 
In case you want to follow me

Here are some links. The further to the right, the less active.

           
(c) Axel Bock | Powered by Hinode.
Link copied to clipboard
Code copied to clipboard