Skip to content

endaaman/lxd-completion-zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lxd-completion-zsh

Zsh completion for lxc and lxd commands of LXD.

screenshot

Installation

Using a plugin manager (recommended)

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

antigen bundle 'endaaman/lxd-completion-zsh'

zplug

zplug 'endaaman/lxd-completion-zsh'
  1. Clone this repository in oh-my-zsh's plugins directory:
git clone https://github.com/endaaman/lxd-completion-zsh ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/lxd-completion-zsh
  1. Activate the plugin in ~/.zshrc:
plugins=( [plugins...] lxd-completion-zsh)
  1. Restart zsh (such as by opening a new instance of your terminal emulator).

Manually

Put _lxc file into $fpath directory (e.g. defining fpath=(~/.zsh/completion $fpath), place it in ~/.zsh/completion)

License

MIT

Releases

No releases published

Packages

No packages published

Languages