diff options
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. |