From b68937eef43a2637a1a05db44e52df7f956b3049 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 18 Apr 2003 17:15:34 +0000 Subject: fix bug where 0 was not returned when adding a named directory as a match --- ChangeLog | 3 +++ Completion/Zsh/Context/_tilde | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 259ad75fb..12e0ca211 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-04-18 Oliver Kiddle + * 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 -- cgit 1.4.1