Zsh completion for lxc/lxd command of LXD
Zsh completion for lxc
and lxd
commands of LXD.
This way is recommended. The lxc
command updates frequently and this repository as its completion does the same. Therefore, using a plugin manager, you can get the immediate updates when I apply them.
antigen bundle 'endaaman/lxd-completion-zsh'
zplug 'endaaman/lxd-completion-zsh'
git clone https://github.com/endaaman/lxd-completion-zsh ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/lxd-completion-zsh
plugins=( [plugins...] lxd-completion-zsh)
Put _lxc
file into $fpath
directory (e.g. defining fpath=(~/.zsh/completion $fpath)
, place it in ~/.zsh/completion
)
MIT