From 606dd4aebd11b0e483ec812aa2bca9a87ee869d7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 13 Jun 2017 12:09:20 +0200 Subject: zsh: Ensure ghq completion is installed --- zsh/.config/zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index e1ff1dd3..c83aa234 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -153,6 +153,11 @@ compinit zplugin cdreplay -q +if [[ -n $commands[ghq] && -z $functions[_ghq] ]] +then + zplugin creinstall "${GOPATH:=$HOME/go}/src/github.com/motemen/ghq/zsh/" +fi + # General configuration if [[ -n $commands[hub] ]] -- cgit 1.4.1