summaryrefslogtreecommitdiff
path: root/lib/completion.zsh
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2015-08-19 09:03:43 +0200
committerMarc Cornellà <marc.cornella@live.com>2015-09-05 22:47:50 +0200
commit3976e040350bd9ac9423252b97dee28d3762adc2 (patch)
tree2e95e8377fdb51004e334b70970da126c5862a2d /lib/completion.zsh
parent9c08641d7c2aae0c82fa5ad91f94c67b70115ba5 (diff)
downloadzsh-3976e040350bd9ac9423252b97dee28d3762adc2.tar.gz
zsh-3976e040350bd9ac9423252b97dee28d3762adc2.tar.bz2
zsh-3976e040350bd9ac9423252b97dee28d3762adc2.zip
Use proper if comparison
Diffstat (limited to 'lib/completion.zsh')
-rw-r--r--lib/completion.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh
index 452c0dfe7..e848ea2dd 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -58,7 +58,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
# ... unless we really want to.
zstyle '*' single-ignored show
-if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; then
+if [[ $COMPLETION_WAITING_DOTS = true ]]; then
expand-or-complete-with-dots() {
echo -n "\e[31m......\e[0m"
zle expand-or-complete