Only install nix-zsh-completions on non-NixOS + Nix setups
Alan Pearce alan@alanpearce.eu
Wed, 22 May 2019 15:48:28 +0200
1 files changed, 1 insertions(+), 4 deletions(-)
jump to
M zsh/.config/zsh/.zshrc → zsh/.config/zsh/.zshrc
@@ -166,10 +166,7 @@ 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] ]]'