From ac1097615a7a2b427f6242443c57945df75eedf2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 15 Jul 2016 09:41:41 +0200 Subject: zsh: Install nix completions plugin --- tag-zsh/config/zsh/zshrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tag-zsh/config/zsh/zshrc') 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 -- cgit 1.4.1