diff options
author | Alan Pearce | 2017-06-13 12:09:20 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-13 12:09:20 +0200 |
commit | 606dd4aebd11b0e483ec812aa2bca9a87ee869d7 (patch) | |
tree | 5970699bc3bb089abcca74dedf6cf161b4d48a88 | |
parent | 867f8a4c5eefcce37933a20c06f5f82585561f43 (diff) | |
download | nixfiles-606dd4aebd11b0e483ec812aa2bca9a87ee869d7.tar.lz nixfiles-606dd4aebd11b0e483ec812aa2bca9a87ee869d7.tar.zst nixfiles-606dd4aebd11b0e483ec812aa2bca9a87ee869d7.zip |
zsh: Ensure ghq completion is installed
-rw-r--r-- | zsh/.config/zsh/.zshrc | 5 |
1 files changed, 5 insertions, 0 deletions
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] ]] |