From 35b2633ad941966f5fca07b625a594a5b68c0fdb Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 15 Nov 1999 12:01:46 +0000 Subject: manual/8639 --- Completion/Core/_correct | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Completion/Core/_correct') diff --git a/Completion/Core/_correct b/Completion/Core/_correct index c9c3d999c..abd70ddeb 100644 --- a/Completion/Core/_correct +++ b/Completion/Core/_correct @@ -8,7 +8,11 @@ # Supported configuration keys are the same as for `_approximate', only # starting with `correct'. -local ret=1 opm="$compstate[pattern_match]" +local ret=1 opm="$compstate[pattern_match]" curcontext="$curcontext" + +# Probably set initial context. + +[[ -z "$curcontext" ]] && curcontext=':correct' compstate[pattern_match]='-' -- cgit 1.4.1