summaryrefslogtreecommitdiff
path: root/tests/programs-zsh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/programs-zsh.nix')
-rw-r--r--tests/programs-zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/programs-zsh.nix b/tests/programs-zsh.nix
index 9c98c33..18680a5 100644
--- a/tests/programs-zsh.nix
+++ b/tests/programs-zsh.nix
@@ -34,7 +34,7 @@
echo >&2 "checking compinit in /etc/zshrc"
grep 'autoload -U compinit && compinit' ${config.out}/etc/zshrc
echo >&2 "checking bashcompinit in /etc/zshrc"
- grep -vq 'bashcompinit' ${config.out}/etc/zshrc
+ (! grep 'bashcompinit' ${config.out}/etc/zshrc)
echo >&2 "checking zprofile.d in /etc/zprofile"
grep 'source /etc/zprofile.d/\*.conf' ${config.out}/etc/zprofile