Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/completion/zsh/_devtools.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-08-21 15:57:29 +0200
committerLevente Polyak <anthraxx@archlinux.org>2022-08-23 20:23:51 +0200
commitba070f1ca9b0dd60567a61c0c3cdb287165246be (patch)
treeebe9b68e37d62bd080c06d7d026b322de40a24e5 /contrib/completion/zsh/_devtools.in
parentb9dadc55760642ac4e8ac9766cf832cc38015923 (diff)
diffpkg: add colored output option with default of auto
Diffstat (limited to 'contrib/completion/zsh/_devtools.in')
-rw-r--r--contrib/completion/zsh/_devtools.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/zsh/_devtools.in b/contrib/completion/zsh/_devtools.in
index 84ecf27..46e04fb 100644
--- a/contrib/completion/zsh/_devtools.in
+++ b/contrib/completion/zsh/_devtools.in
@@ -6,6 +6,7 @@ m4_include(lib/valid-tags.sh)
m4_include(lib/valid-repos.sh)
_binary_arch=${_arch[*]:0:-1}
+_colors=(never always auto)
_archbuild_args=(
'-c[Recreate the chroot before building]'
@@ -49,6 +50,7 @@ _diffpkg_args=(
'(-m --makepkg-config)'{-m,--makepkg-config}'[Location of a makepkg config file]:makepkg_config:_files -g "*.conf(.)"'
'(-u -U --unified)'{-u,-U,--unified}'[Output 3 lines of unified context]'
'(-y --side-by-side)'{-y,--side-by-side}'[Output in two columns]'
+ '--color=[Color output]:when:($_colors[*])'
'(-v --verbose)'{-v,--verbose}'[Provide more detailed/unfiltered output]'
'(-h --help)'{-h,--help}'[Display usage]'
'*:packages:_devtools_completions_all_packages'