Make friendly to set -u

This commit is contained in:
Steven Shaw 2015-05-11 07:27:21 +00:00
commit 5c1cf2feea
8 changed files with 18 additions and 18 deletions

View file

@ -53,7 +53,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
# ... unless we really want to.
zstyle '*' single-ignored show
if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; then
if [ "x${COMPLETION_WAITING_DOTS:-}" = "xtrue" ]; then
expand-or-complete-with-dots() {
echo -n "\e[31m......\e[0m"
zle expand-or-complete