about summary refs log tree commit diff
diff options
context:
space:
mode:
-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