From 20c52f622154ed00fac8ed3cf6416e955551d372 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 14 Aug 2011 13:40:53 +0000 Subject: 28852: Use syntax that doesn't depend on SHORT_LOOPS being set. --- Functions/Zle/match-words-by-style | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Functions/Zle') diff --git a/Functions/Zle/match-words-by-style b/Functions/Zle/match-words-by-style index 69ceba76a..b387828f3 100644 --- a/Functions/Zle/match-words-by-style +++ b/Functions/Zle/match-words-by-style @@ -220,8 +220,7 @@ if [[ $wordstyle = *subword* ]]; then fi match=() -charskip= -repeat $skip charskip+=\? +charskip=${(l:skip::?:)} eval pat2='${RBUFFER##(#b)('${charskip}${spacepat}')('\ ${wordpat2}')('${spacepat}')}' -- cgit 1.4.1