3976e040350bd9ac9423252b97dee28d3762adc2
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
Use proper if comparison
Diff
1diff --git a/lib/completion.zsh b/lib/completion.zsh
2index 452c0dfe765539dd6cf0a83f85037c7ac5f571a9..e848ea2dd6ffc1e14a65c873777f47af79ce327a 100644
3--- a/lib/completion.zsh
4+++ b/lib/completion.zsh
5@@ -58,7 +58,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
6 # ... unless we really want to.
7 zstyle '*' single-ignored show
8
9-if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; then
10+if [[ $COMPLETION_WAITING_DOTS = true ]]; then
11 expand-or-complete-with-dots() {
12 echo -n "\e[31m......\e[0m"
13 zle expand-or-complete