From 5bf3f7b115fe8ef3e5ea13e45e08d15553e2f2ba Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 5 Jul 2018 15:18:15 +0200 Subject: zsh: Setup helm completion more reliably --- zsh/.config/zsh/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zsh') diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index e829143..3bec9e0 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -172,15 +172,15 @@ then source ${$(readlink =gcloud):h}/../etc/bash_completion.d/gcloud.inc fi -zplugin ice atinit 'zpcompinit; zpcdreplay -q' -zplugin light "zdharma/fast-syntax-highlighting" - if [[ -n $commands[helm] ]] then autoload _helm compdef _helm helm fi +zplugin ice atinit 'zpcompinit; zpcdreplay -q' +zplugin light "zdharma/fast-syntax-highlighting" + # General configuration if [[ -n $commands[gpg2] && -z $commands[gpg] ]] -- cgit 1.4.1