diff options
author | Matthew Martin <phy1729@gmail.com> | 2019-04-04 18:45:19 -0500 |
---|---|---|
committer | Matthew Martin <phy1729@gmail.com> | 2019-04-04 18:45:19 -0500 |
commit | 5facfd32805831230f9b42b7ec9765e858b553a8 (patch) | |
tree | 338774bab29346eaa1f29dff5813f71611613157 /Completion/Zsh/Command/_command | |
parent | bb790c8f8118d4428d8effc65b1c5dc03d1637f6 (diff) | |
download | zsh-5facfd32805831230f9b42b7ec9765e858b553a8.tar.gz zsh-5facfd32805831230f9b42b7ec9765e858b553a8.tar.xz zsh-5facfd32805831230f9b42b7ec9765e858b553a8.zip |
44200 (tweaked): Completion: Append to precommands in _normal
Diffstat (limited to 'Completion/Zsh/Command/_command')
-rw-r--r-- | Completion/Zsh/Command/_command | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Completion/Zsh/Command/_command b/Completion/Zsh/Command/_command index 4e2858676..7a59a2386 100644 --- a/Completion/Zsh/Command/_command +++ b/Completion/Zsh/Command/_command @@ -1,11 +1,8 @@ #compdef command -# indicate if this is a precommand modifier -[[ $service = command ]] && precommands+=(command) - _arguments \ '-v[indicate result of command search]:*:command:_path_commands' \ '-V[show result of command search in verbose form]:*:command:_path_commands' \ '(-)-p[use default PATH to find command]' \ ':command:_path_commands' \ - '*::arguments: _normal' + '*:: : _normal -p $service' |