mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-02 08:21:09 +01:00
52112: use '_normal -p subcmd' to complete only external command
This commit is contained in:
parent
9ff1b2810e
commit
c0caef5613
15 changed files with 28 additions and 16 deletions
|
|
@ -27,6 +27,6 @@ for ((i=1;i<=3;i++)); do
|
|||
"(${short[i]})${long[i]}=${(e)opt}"
|
||||
)
|
||||
done
|
||||
(( CURRENT > 2 )) && args+=( '*::command:_normal' )
|
||||
(( CURRENT > 2 )) && args+=( '*::command: _normal -p $service' )
|
||||
|
||||
_arguments -s -S $args
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue