diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-03-13 09:28:04 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-03-13 09:28:04 +0000 |
commit | 45f9a36216637075172d0bdf7ad8e18fad34c42e (patch) | |
tree | 8505f11011505b00e8cef1142b11c2b2e94e17e9 /Completion/Base/Core/_normal | |
parent | 799b34d817a77244e9e371f6d5f1b01aa171214c (diff) | |
download | zsh-45f9a36216637075172d0bdf7ad8e18fad34c42e.tar.gz zsh-45f9a36216637075172d0bdf7ad8e18fad34c42e.tar.xz zsh-45f9a36216637075172d0bdf7ad8e18fad34c42e.zip |
remove that -T option to compdef again and instead use comma-separated sub-contexts both for function and style lookup (16819)
Diffstat (limited to 'Completion/Base/Core/_normal')
-rw-r--r-- | Completion/Base/Core/_normal | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Base/Core/_normal b/Completion/Base/Core/_normal index 028687fd1..36ecb225d 100644 --- a/Completion/Base/Core/_normal +++ b/Completion/Base/Core/_normal @@ -1,6 +1,6 @@ #compdef -command-line- -local _comp_command1 _comp_command2 skip +local _comp_command1 _comp_command2 _comp_command skip if [[ "$1" = -s ]]; then skip=(-s) @@ -22,4 +22,5 @@ fi _set_command -_dispatch -d "$skip[@]" comps "$_comp_command1" "$_comp_command2" +_dispatch "$skip[@]" "$_comp_command" \ + "$_comp_command1" "$_comp_command2" -default- |