summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
authorAlan Pearce2018-06-27 11:53:09 +0200
committerAlan Pearce2018-06-27 11:53:09 +0200
commita40bbd7594607b4727a7cf79a4ec1b178842d147 (patch)
tree2fe4b99e1a05f86c41825784c3abfd9d24d26e81 /zsh
parent968995393b74f81f88627550b5a269465476db97 (diff)
downloadnixfiles-a40bbd7594607b4727a7cf79a4ec1b178842d147.tar.lz
nixfiles-a40bbd7594607b4727a7cf79a4ec1b178842d147.tar.zst
nixfiles-a40bbd7594607b4727a7cf79a4ec1b178842d147.zip
zsh: load helm completion
Diffstat (limited to 'zsh')
-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 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] ]]