about summary refs log tree commit diff
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
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
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Zsh/Context/_tilde2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 259ad75fb..12e0ca211 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-04-18  Oliver Kiddle  <opk@zsh.org>
 
+	* unposted: Completion/Zsh/Context/_tilde: fix bug where 0 was
+	not returned when adding a named directory as a match
+
 	* 18450: Functions/Misc/zcalc: use math context for completion
 
 	* 18450: Doc/Zsh/compsys.yo: corrections and a couple of rewordings
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