From a40bbd7594607b4727a7cf79a4ec1b178842d147 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 27 Jun 2018 11:53:09 +0200 Subject: zsh: load helm completion --- zsh/.config/zsh/.zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 2d805646..e8291430 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -175,6 +175,12 @@ fi zplugin ice atinit 'zpcompinit; zpcdreplay -q' zplugin light "zdharma/fast-syntax-highlighting" +if [[ -n $commands[helm] ]] +then + autoload _helm + compdef _helm helm +fi + # General configuration if [[ -n $commands[gpg2] && -z $commands[gpg] ]] -- cgit 1.4.1