summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-06-27 11:53:09 +0200
committerAlan Pearce2018-06-27 11:53:09 +0200
commita40bbd7594607b4727a7cf79a4ec1b178842d147 (patch)
tree2fe4b99e1a05f86c41825784c3abfd9d24d26e81
parent968995393b74f81f88627550b5a269465476db97 (diff)
downloaddotfiles-a40bbd7594607b4727a7cf79a4ec1b178842d147.tar.lz
dotfiles-a40bbd7594607b4727a7cf79a4ec1b178842d147.tar.zst
dotfiles-a40bbd7594607b4727a7cf79a4ec1b178842d147.zip
zsh: load helm completion
-rw-r--r--zsh/.config/zsh/.zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 2d80564..e829143 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] ]]