diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-24 12:35:07 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-24 12:35:07 +0000 |
commit | a2876b6db3e25ab7c5f7df10806d6f0b45b89514 (patch) | |
tree | 9b88c88737985c50b206eae2c239ffb7517862a7 /Completion/Core/_prefix | |
parent | ad108b32774ef7860c280c4609aa178c15e6b759 (diff) | |
download | zsh-a2876b6db3e25ab7c5f7df10806d6f0b45b89514.tar.gz zsh-a2876b6db3e25ab7c5f7df10806d6f0b45b89514.tar.xz zsh-a2876b6db3e25ab7c5f7df10806d6f0b45b89514.zip |
zsh-workers/10230
Diffstat (limited to 'Completion/Core/_prefix')
-rw-r--r-- | Completion/Core/_prefix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_prefix b/Completion/Core/_prefix index ed95140bd..32ffaea2f 100644 --- a/Completion/Core/_prefix +++ b/Completion/Core/_prefix @@ -7,7 +7,7 @@ local curcontext="${curcontext/:[^:]#:/:prefix-${(M)#_completers[1,_completer_num]:#_prefix}:}" comp i zstyle -a ":completion:${curcontext}:" completer comp || - comp=( "${(@)_completers[1,_completer_num][(R)_prefix,-1]}" ) + comp=( "${(@)_completers[1,_completer_num-1][(R)_prefix,-1]}" ) if zstyle -t ":completion:${curcontext}:" add-space; then ISUFFIX=" $SUFFIX" |