summaryrefslogtreecommitdiffstats
path: root/Completion/Debian/Command
diff options
context:
space:
mode:
authorChristopher Bock <christopher@bocki.com>2025-04-12 13:20:15 +0200
committerdana <dana@dana.is>2025-06-05 01:41:21 -0500
commit07a50d57a2369824b2934b5d6f0aba642b631358 (patch)
tree3ad59ba44ea4cc66cbf5a67d0ed355d3459e4e7e /Completion/Debian/Command
parentgithub #131: completion: remove wanna-build (diff)
downloadzsh-07a50d57a2369824b2934b5d6f0aba642b631358.tar
zsh-07a50d57a2369824b2934b5d6f0aba642b631358.tar.gz
zsh-07a50d57a2369824b2934b5d6f0aba642b631358.tar.bz2
zsh-07a50d57a2369824b2934b5d6f0aba642b631358.tar.lz
zsh-07a50d57a2369824b2934b5d6f0aba642b631358.tar.xz
zsh-07a50d57a2369824b2934b5d6f0aba642b631358.tar.zst
zsh-07a50d57a2369824b2934b5d6f0aba642b631358.zip
github #131: completion: minor updates
_apt-file: add list-indices (wording tweaked by dana) _bug: update bts backends from `reportbug --bts help` output _debsnap: complete -l as --list _deb_architectures: update archs (source: popcon) _losetup: remove "--delete" _rsync: add PROGRESS2 to --info _x_utils: add eventtype "button"
Diffstat (limited to 'Completion/Debian/Command')
-rw-r--r--Completion/Debian/Command/_apt-file3
-rw-r--r--Completion/Debian/Command/_bug2
-rw-r--r--Completion/Debian/Command/_debsnap2
3 files changed, 4 insertions, 3 deletions
diff --git a/Completion/Debian/Command/_apt-file b/Completion/Debian/Command/_apt-file
index 5b24707d2..1ed9e3379 100644
--- a/Completion/Debian/Command/_apt-file
+++ b/Completion/Debian/Command/_apt-file
@@ -28,6 +28,7 @@ case $state in
'update:resynchronize package contents'
{find,search}:'search in which package file is included'
{list,show}:'list contents of a package'
+ 'list-indices:list known content indices'
'purge:remove all Contents-<ARCH>.gz files in cache directory'
)
_describe -t commands 'apt-list command' cmds
@@ -46,7 +47,7 @@ case $state in
list|show)
_deb_packages avail
;;
- update|purge)
+ update|purge|list-indices)
# do nothing
;;
*)
diff --git a/Completion/Debian/Command/_bug b/Completion/Debian/Command/_bug
index 436d294f9..2752482ca 100644
--- a/Completion/Debian/Command/_bug
+++ b/Completion/Debian/Command/_bug
@@ -10,7 +10,7 @@ _bug_commonargs=(
)
_rb_commonargs=(
- '(-B --bts)'{-B,--bts=}'[use alternate BTS]:system:(debian gnome kde tdyc kde-debian)'
+ '(-B --bts)'{-B,--bts=}'[use alternate BTS]:system:(debian ubuntu guug default Grml)'
'(-l --ldap)'{-l,--ldap}'[enable LDAP support]'
'(-l --ldap)--no-ldap[disable LDAP support]'
'(--proxy --http_proxy)'--{http_,}'proxy=:proxy host:_hosts'
diff --git a/Completion/Debian/Command/_debsnap b/Completion/Debian/Command/_debsnap
index b9393cac4..40fc0eb57 100644
--- a/Completion/Debian/Command/_debsnap
+++ b/Completion/Debian/Command/_debsnap
@@ -10,7 +10,7 @@ _arguments \
'(-d --destdir)'{-d+,--destdir=}'[set download directory]:download directory:_files -/' \
'(-f --force)'{-f,--force}'[allow non-empty destination directory]' \
'(-v --verbose)'{-v,--verbose}'[print configuration and report progress]' \
- --list"[list versions; don't download]" \
+ '(-l --list)'{-l,--list}"[list versions; don't download]" \
--binary'[operate on binary packages (default: source packages)]' \
'*'{-a+,--architecture=}'[specify architectures to download]:architecture to download:_deb_architectures' \
--first='[download all versions newer than this]:version number (lower bound):->versions' \