From 1a55d536211ed8b6a811f0220e7923586d71f58b Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 31 May 2001 07:17:03 +0000 Subject: always use supplied matchers (14599) --- Completion/Base/Utility/_multi_parts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Base') diff --git a/Completion/Base/Utility/_multi_parts b/Completion/Base/Utility/_multi_parts index 2c9f7fb01..93f2bbd56 100644 --- a/Completion/Base/Utility/_multi_parts +++ b/Completion/Base/Utility/_multi_parts @@ -91,10 +91,10 @@ while true; do else # No exact match, see how many strings match what's on the line. - builtin compadd -O tmp1 - "${(@)${(@)matches%%${sep}*}:#}" + builtin compadd -O tmp1 -M "r:|${sep}=* r:|=* $matcher" - "${(@)${(@)matches%%${sep}*}:#}" [[ $#tmp1 -eq 0 && -n "$_comp_correct" ]] && - compadd -O tmp1 - "${(@)${(@)matches%%${sep}*}:#}" + compadd -O tmp1 -M "r:|${sep}=* r:|=* $matcher" - "${(@)${(@)matches%%${sep}*}:#}" if [[ $#tmp1 -eq 1 ]]; then -- cgit 1.4.1