summary refs log tree commit diff stats
path: root/tag-zsh/config
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh/config')
-rw-r--r--tag-zsh/config/zsh/zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index cb18bea..633d70d 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