about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-04-18 17:15:34 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-04-18 17:15:34 +0000
commitb68937eef43a2637a1a05db44e52df7f956b3049 (patch)
tree7534a4f86bf5c103d568af0a3c9968f6fbbeed1e /Completion
parent6afa53768c79ab248522efc3d6281bb4979639b7 (diff)
downloadzsh-b68937eef43a2637a1a05db44e52df7f956b3049.tar.gz
zsh-b68937eef43a2637a1a05db44e52df7f956b3049.tar.xz
zsh-b68937eef43a2637a1a05db44e52df7f956b3049.zip
fix bug where 0 was not returned when adding a named directory as a match
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Zsh/Context/_tilde2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Context/_tilde b/Completion/Zsh/Context/_tilde
index b27bb0720..4b5cfaa09 100644
--- a/Completion/Zsh/Context/_tilde
+++ b/Completion/Zsh/Context/_tilde
@@ -22,7 +22,7 @@ while _tags; do
   _requested users && _users "$suf[@]" "$@" && ret=0
 
   _requested named-directories expl 'named directory' \
-      compadd "$suf[@]" "$@" -k nameddirs
+      compadd "$suf[@]" "$@" -k nameddirs && ret=0
 
   _requested directory-stack && _directory_stack "$suf[@]" && ret=0