diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-26 08:56:49 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-26 08:56:49 +0000 |
commit | 65345f9e5036da80e2acd2941a9703526c9d44ad (patch) | |
tree | 4187ac6e1f712a16914c9bade1ce3bcfaa32ae62 /Completion/Core/_expand | |
parent | 6e762fbd481d6427a4e8561fb11e4bd839db0bb5 (diff) | |
download | zsh-65345f9e5036da80e2acd2941a9703526c9d44ad.tar.gz zsh-65345f9e5036da80e2acd2941a9703526c9d44ad.tar.xz zsh-65345f9e5036da80e2acd2941a9703526c9d44ad.zip |
zsh-workers/8787
Diffstat (limited to 'Completion/Core/_expand')
-rw-r--r-- | Completion/Core/_expand | 4 |
1 files changed, 3 insertions, 1 deletions
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*. |