This is an etcdctl autocomplete plugin for oh-my-zsh.
First, install the etcd-completion rubygem.
gem install etcd-completion
The next step varies depending on how you use zsh. Instructions included for antigen and oh-my-zsh.
Install the bundle by editing your .zshrc file:
antigen bundle sheax0r/etcdctl-zshgit clone https://github.com/sheax0r/etcdctl-zsh.git ~/.zsh/custom/plugins/etcdctl-zshplugins=(...git vagrant etcdctl-zsh...)- Use etcdctl as usual:
etcdctl <command> <path> - Autocompletion will function on commands.
- Autocompletion will function on paths too.