diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-24 10:52:20 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-24 10:52:20 +0000 |
commit | f853592fa0e6dc1246c8c23932bbd3265e537728 (patch) | |
tree | 600c9d90ed072d4cc0777764718ed62b955f142e | |
parent | 4f0b97400236e650af4e80f336f99059f47f5c01 (diff) | |
download | zsh-f853592fa0e6dc1246c8c23932bbd3265e537728.tar.gz zsh-f853592fa0e6dc1246c8c23932bbd3265e537728.tar.xz zsh-f853592fa0e6dc1246c8c23932bbd3265e537728.zip |
zsh-workers/8768
-rw-r--r-- | Completion/Core/_complete | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Completion/Core/_complete b/Completion/Core/_complete index 1468e46ce..00c5e1e9a 100644 --- a/Completion/Core/_complete +++ b/Completion/Core/_complete @@ -4,7 +4,9 @@ # a normal completion function, but as one possible value for the # completer style. -local comp name curcontext="${curcontext}:complete" oldcontext +local comp name curcontext="$curcontext" oldcontext + +[[ "$funcstack[2]" = _main_complete ]] && curcontext="${curcontext}:complete" oldcontext="$curcontext" |