diff options
author | Alan Pearce | 2019-05-22 15:48:28 +0200 |
---|---|---|
committer | Alan Pearce | 2019-05-22 15:48:28 +0200 |
commit | 2118600898a557c08965aeae92e9add73778f04e (patch) | |
tree | 42188649d070151fc2c2e802605616e3cb7ec8c0 /zsh | |
parent | 9ba8a1a397455ce57c39137f1b6c6d2ac48e9cb5 (diff) | |
download | dotfiles-2118600898a557c08965aeae92e9add73778f04e.tar.lz dotfiles-2118600898a557c08965aeae92e9add73778f04e.tar.zst dotfiles-2118600898a557c08965aeae92e9add73778f04e.zip |
Only install nix-zsh-completions on non-NixOS + Nix setups
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.config/zsh/.zshrc | 5 |
1 files changed, 1 insertions, 4 deletions
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] ]]' |