aboutsummaryrefslogtreecommitdiffstats
path: root/zuwu.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zuwu.zsh')
-rwxr-xr-xzuwu.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/zuwu.zsh b/zuwu.zsh
index f491c99..8449765 100755
--- a/zuwu.zsh
+++ b/zuwu.zsh
@@ -24,7 +24,7 @@ eval_append() {
<<<"$2" >> "$1"
eval "$2"
}
-if ! test compinit >/dev/null 2>/dev/null; then
+if ! which compinit >/dev/null 2>/dev/null; then
eval_append ~/.zshrc "$(<<EOF
# The following lines were added by compinstall
zstyle ':completion:*' completer _complete _ignored _approximate