From 65345f9e5036da80e2acd2941a9703526c9d44ad Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 26 Nov 1999 08:56:49 +0000 Subject: zsh-workers/8787 --- Completion/Core/_expand | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Completion/Core/_expand') diff --git a/Completion/Core/_expand b/Completion/Core/_expand index 68c09ddbb..e611dc3e2 100644 --- a/Completion/Core/_expand +++ b/Completion/Core/_expand @@ -8,7 +8,9 @@ # word from the line. local exp word="$PREFIX$SUFFIX" group=-V expl expl2 disp orig menu prompt -local curcontext="${curcontext}:expand" expr descr +local curcontext="${curcontext}" expr descr + +[[ "$curcontext" != :correct* ]] && curcontext="${curcontext}:correct" # First, see if we should insert all *completions*. -- cgit 1.4.1