From 3d9d13e918c195f974ff7b2f1dc5b65f6b20a441 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 22 Nov 1999 12:29:47 +0000 Subject: zsh-workers/8720 --- Completion/Core/_correct | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Completion/Core/_correct') diff --git a/Completion/Core/_correct b/Completion/Core/_correct index abd70ddeb..c958bdb83 100644 --- a/Completion/Core/_correct +++ b/Completion/Core/_correct @@ -8,11 +8,7 @@ # Supported configuration keys are the same as for `_approximate', only # starting with `correct'. -local ret=1 opm="$compstate[pattern_match]" curcontext="$curcontext" - -# Probably set initial context. - -[[ -z "$curcontext" ]] && curcontext=':correct' +local ret=1 opm="$compstate[pattern_match]" curcontext="${curcontext}:correct" compstate[pattern_match]='-' -- cgit 1.4.1