diff options
Diffstat (limited to 'Completion/Unix/Command/_bzr')
-rw-r--r-- | Completion/Unix/Command/_bzr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr new file mode 100644 index 000000000..26e992dd3 --- /dev/null +++ b/Completion/Unix/Command/_bzr @@ -0,0 +1,13 @@ +#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 |