From 475aca3cb2d779f7a8c9dfbf05afa7d94250a46c Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 25 Nov 1999 10:35:15 +0000 Subject: zsh-workers/8777 --- Completion/Core/_normal | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Completion/Core/_normal') 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. -- cgit 1.4.1