about summary refs log tree commit diff
path: root/Completion/Zsh/Context
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-07-02 07:17:00 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-07-02 07:17:00 +0000
commit05fdd6fed2c736d28c63b595db5c2be4fabfd7a0 (patch)
tree12eae7c2fa153497d77b8f139101f49ea7d3c0ae /Completion/Zsh/Context
parent70c4e162c622f1ab6beba4c38652e1fd3d51c398 (diff)
downloadzsh-05fdd6fed2c736d28c63b595db5c2be4fabfd7a0.tar.gz
zsh-05fdd6fed2c736d28c63b595db5c2be4fabfd7a0.tar.xz
zsh-05fdd6fed2c736d28c63b595db5c2be4fabfd7a0.zip
Return nonzero from _tilde on no matches.
Diffstat (limited to 'Completion/Zsh/Context')
-rw-r--r--Completion/Zsh/Context/_tilde4
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