From 34381548da094d1be0b06f802d131f960b061ffe Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 3 Dec 2006 21:07:17 +0000 Subject: Incomplete improvements for $'...' in completion --- Src/Zle/compctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/compctl.c') diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c index b76cb64e7..17c8083f0 100644 --- a/Src/Zle/compctl.c +++ b/Src/Zle/compctl.c @@ -2309,7 +2309,7 @@ makecomplistctl(int flags) break; } inbackt = 0; - strcpy(buf, compquote); + strcpy(buf, *compquote == '$' ? compquote+1 : compquote); autoq = buf; } } else { -- cgit v1.2.3