diff options
Diffstat (limited to 'Completion/Unix/Command/_quilt')
-rw-r--r-- | Completion/Unix/Command/_quilt | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/Completion/Unix/Command/_quilt b/Completion/Unix/Command/_quilt index cbb1d90df..8c34c49b1 100644 --- a/Completion/Unix/Command/_quilt +++ b/Completion/Unix/Command/_quilt @@ -1,22 +1,10 @@ #compdef quilt -local _quilt_subcommands expl curcontext="$curcontext" - _arguments \ '--trace' \ '--quiltrc:config file:_files' \ '--version' \ - '*::quilt command:->subcmd' && return 0 - - - _quilt_subcommands=(add files import previous setup annotate fold mail - push snapshot applied fork new refresh top delete graph next remove - unapplied diff grep patches rename upgrade edit header pop series) - - -if (( CURRENT == 1 )); then - _describe -t subcommand 'subcommand' _quilt_subcommands -else - # this part should be tailored for subcmds - _files -fi + ':quilt command:(add files import previous setup annotate fold mail push + snapshot applied fork new refresh top delete graph next remove unapplied + diff grep patches rename upgrade edit header pop series)' \ + '*::file:_files' |