- Have
zsh
as your command interpreter andoh-my-zsh
installed - Download completions files (anywhere, but home directory is preferred)
git clone https://github.com/rsherstnev/zshcompletions $HOME/zsh-custom-completions/
- Put at the end of zsh config file your custom completions directory in the beginning of
fpath
variable andcompinit
function:
fpath=(
$HOME/zsh-custom-completions
$fpath
)
autoload -Uz compinit
compinit