diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-25 10:35:15 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-25 10:35:15 +0000 |
commit | 475aca3cb2d779f7a8c9dfbf05afa7d94250a46c (patch) | |
tree | 4d63a3d266094e29e987bc2e8224c57cb804b46e /Completion/Core/_normal | |
parent | 1d63a688d91b116cc0834eecb0cb001fb177b91d (diff) | |
download | zsh-475aca3cb2d779f7a8c9dfbf05afa7d94250a46c.tar.gz zsh-475aca3cb2d779f7a8c9dfbf05afa7d94250a46c.tar.xz zsh-475aca3cb2d779f7a8c9dfbf05afa7d94250a46c.zip |
zsh-workers/8777
Diffstat (limited to 'Completion/Core/_normal')
-rw-r--r-- | Completion/Core/_normal | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Completion/Core/_normal b/Completion/Core/_normal index f31e7e6fc..f7d797aaa 100644 --- a/Completion/Core/_normal +++ b/Completion/Core/_normal @@ -26,14 +26,16 @@ else if [[ "$command[1]" == '=' ]]; then eval cmd1\=$command cmd2="$command[2,-1]" + curcontext="${curcontext}::${cmd1}:" elif [[ "$command" == */* ]]; then cmd1="$command" cmd2="${command:t}" + curcontext="${curcontext}::${cmd1}:" else cmd1="$command" cmd2="$commands[$command]" + curcontext="${curcontext}::${cmd1}:" fi - curcontext="${curcontext}:${cmd1}" fi # See if there are any matching pattern completions. |