mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-10 22:31:24 +02:00
11 lines
190 B
Text
11 lines
190 B
Text
#compdef command
|
|
|
|
if [[ CURRENT -ge 3 ]]; then
|
|
compset -n 2
|
|
_normal
|
|
else
|
|
local expl
|
|
|
|
_wanted commands expl 'external command' &&
|
|
compadd "$expl[@]" "$@" - "${(k@)commands}"
|
|
fi
|