From 2118600898a557c08965aeae92e9add73778f04e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 22 May 2019 15:48:28 +0200 Subject: Only install nix-zsh-completions on non-NixOS + Nix setups --- zsh/.config/zsh/.zshrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'zsh/.config') diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 32d151f..922cfc3 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -166,10 +166,7 @@ zplugin load "unixorn/tumult.plugin.zsh" zplugin ice wait'[[ -n ${ZLAST_COMMANDS[(r)npm*]} ]]' lucid zplugin light "lukechilds/zsh-better-npm-completion" -zplugin ice wait'[[ -n ${ZLAST_COMMANDS[(r)nix*]} ]]' lucid -zplugin light "spwhitt/nix-zsh-completions" - -zplugin ice wait'[[ -n ${ZLAST_COMMANDS[(r)nix-shell*]} ]]' lucid +zplugin ice if'[[ (-n $commands[nix-env] && -z $commands[nixos-rebuild]) ]]' wait'[[ -n ${ZLAST_COMMANDS[(r)nix-shell*]} ]]' lucid zplugin load "chisui/zsh-nix-shell" zplugin ice if'[[ -n $commands[ghq] ]]' -- cgit 1.4.1