mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:28:00 +08:00
Use proper if comparison
This commit is contained in:
parent
9c08641d7c
commit
3976e04035
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user