Setting up ZSH completions for upctl (on Mac OS X)

First steps in terminal:

mkdir -p ~/.zsh/completions
upctl completion zsh > ~/.zsh/completions/_upctl

Add to your ~/.zshrc:

fpath=(~/.zsh/completions $fpath)
autoload -Uz compinit
compinit

Done

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.