diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-07-02 07:17:00 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-07-02 07:17:00 +0000 |
commit | 05fdd6fed2c736d28c63b595db5c2be4fabfd7a0 (patch) | |
tree | 12eae7c2fa153497d77b8f139101f49ea7d3c0ae /Completion/Zsh/Context/_tilde | |
parent | 70c4e162c622f1ab6beba4c38652e1fd3d51c398 (diff) | |
download | zsh-05fdd6fed2c736d28c63b595db5c2be4fabfd7a0.tar.gz zsh-05fdd6fed2c736d28c63b595db5c2be4fabfd7a0.tar.xz zsh-05fdd6fed2c736d28c63b595db5c2be4fabfd7a0.zip |
Return nonzero from _tilde on no matches.
Diffstat (limited to 'Completion/Zsh/Context/_tilde')
-rw-r--r-- | Completion/Zsh/Context/_tilde | 4 |
1 files changed, 3 insertions, 1 deletions
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 |