diff options
author | Alan Pearce | 2016-07-15 09:41:41 +0200 |
---|---|---|
committer | Alan Pearce | 2016-07-15 09:41:41 +0200 |
commit | ac1097615a7a2b427f6242443c57945df75eedf2 (patch) | |
tree | 246200c126bb5afdbd40eab8cccfe709220f5a13 /tag-zsh/config/zsh | |
parent | a87c297556fb2367fd8e751955b92bc36371752d (diff) | |
download | nixfiles-ac1097615a7a2b427f6242443c57945df75eedf2.tar.lz nixfiles-ac1097615a7a2b427f6242443c57945df75eedf2.tar.zst nixfiles-ac1097615a7a2b427f6242443c57945df75eedf2.zip |
zsh: Install nix completions plugin
Diffstat (limited to 'tag-zsh/config/zsh')
-rw-r--r-- | tag-zsh/config/zsh/zshrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index cb18bea7..633d70d7 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -9,6 +9,12 @@ zplug "clvv/fasd", hook-build:"PREFIX=$HOME make install" zplug "alanpearce/zsh-directory-history", at:"dirlog-as-zsh-function", as:command, use:"dirhist" zplug "alanpearce/zsh-directory-history", at:"dirlog-as-zsh-function", as:plugin zplug "caarlos0/zsh-open-pr", as:plugin +if [[ -n $commands[nix-env] ]] +then + zplug "spwhitt/nix-zsh-completions", as:plugin + fpath=($fpath $ZPLUG_REPOS/spwhitt/nix-zsh-completions) +fi + if [[ ${(SN)HOST%spotcap} ]] then zplug "gerges/oh-my-zsh-jira-plus", as:plugin |