[pve-devel] applied: [PATCH v2 common] Fix 1891: Add zsh command completion generator
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Feb 20 12:20:26 CET 2019
On 2/20/19 11:59 AM, Christian Ebner wrote:
> This adds the function needed to generate the zsh autocompletion scripts.
> Using the bash completion code path, this generates the list of possible
> completions and adds them to the zsh completion by compadd.
> For the autocompletion scripts to be loaded automatically, the following two
> lines have to be placed in the .zshrc:
>
> autoload -U compinit
> compinit
>
> Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
> ---
> Version 2:
> * Thanks to the input and offline discussion with Thomas this now relies on
> the new completion system with compadd (although we only use it to wrap to
> the perl bashcompletion).
> * For it to work
>
> autoload -U compinit
> compinit
>
> have to be placed into .zshrc
>
applied, thanks!
More information about the pve-devel
mailing list