mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-05-02 21:42:44 -04:00
14 lines
325 B
Plaintext
14 lines
325 B
Plaintext
#compdef bzr
|
|
|
|
local _bzr_subcommands expl curcontext="$curcontext"
|
|
|
|
_bzr_subcommands=(${(f)"$(_call_program bzr bzr shell-complete)"})
|
|
|
|
if (( CURRENT == 2 )); then
|
|
_describe -t subcommand 'subcommand' _bzr_subcommands
|
|
else
|
|
# this part should call bzr shell-complete <subcmd> when
|
|
# it has been tweaked properly
|
|
_files
|
|
fi
|