diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Zsh/Context/_tilde | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index b9a5c1398..d242eb30d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-07-02 Bart Schaefer <schaefer@zsh.org> + + * 15198: Completion/Zsh/Context/_tilde: Return nonzero if no + matches are found. + 2001-06-30 Bart Schaefer <schaefer@zsh.org> * 15191: Src/init.c: Don't infinite loop if there's an error in diff --git a/Completion/Zsh/Context/_tilde b/Completion/Zsh/Context/_tilde index 7f1b6b36a..b27bb0720 100644 --- a/Completion/Zsh/Context/_tilde +++ b/Completion/Zsh/Context/_tilde @@ -6,7 +6,7 @@ [[ -n "$compstate[quote]" ]] && return 1 -local expl suf ret +local expl suf ret=1 if [[ "$SUFFIX" = */* ]]; then ISUFFIX="/${SUFFIX#*/}$ISUFFIX" @@ -28,3 +28,5 @@ while _tags; do (( ret )) || return 0 done + +return ret |