summaryrefslogtreecommitdiffstats
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
commitabced20c0a943f74ffbd37071d40ecfd02851caf (patch)
treeb5596819904238bdd1c40a2484765ada8fad9080
parentgithub #138: completion: darwin/_networksetup: fix socks flags (diff)
downloadzsh-abced20c0a943f74ffbd37071d40ecfd02851caf.tar
zsh-abced20c0a943f74ffbd37071d40ecfd02851caf.tar.gz
zsh-abced20c0a943f74ffbd37071d40ecfd02851caf.tar.bz2
zsh-abced20c0a943f74ffbd37071d40ecfd02851caf.tar.lz
zsh-abced20c0a943f74ffbd37071d40ecfd02851caf.tar.xz
zsh-abced20c0a943f74ffbd37071d40ecfd02851caf.tar.zst
zsh-abced20c0a943f74ffbd37071d40ecfd02851caf.zip
github #131: completion: add debmany, dhomepage, dpkg-info, which-pkg-broke
dhomepage tweaked by dana
-rw-r--r--ChangeLog9
-rw-r--r--Completion/Debian/Command/_debmany3
-rw-r--r--Completion/Debian/Command/_dhomepage13
-rw-r--r--Completion/Debian/Command/_dpkg-info3
-rw-r--r--Completion/Debian/Command/_which-pkg-broke3
5 files changed, 31 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c16de664d..2cdec4229 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2025-06-05 dana <dana@dana.is>
+
+ * Christopher Bock: github #131:
+ Completion/Debian/Command/_debmany,
+ Completion/Debian/Command/_dhomepage,
+ Completion/Debian/Command/_dpkg-info,
+ Completion/Debian/Command/_which-pkg-broke: complete debmany,
+ dhomepage, dpkg-info, which-pkg-broke
+
2025-06-04 dana <dana@dana.is>
* bryango: github #138: Completion/Darwin/Command/_networksetup:
diff --git a/Completion/Debian/Command/_debmany b/Completion/Debian/Command/_debmany
new file mode 100644
index 000000000..88d9f2fef
--- /dev/null
+++ b/Completion/Debian/Command/_debmany
@@ -0,0 +1,3 @@
+#compdef debmany
+
+_deb_packages avail
diff --git a/Completion/Debian/Command/_dhomepage b/Completion/Debian/Command/_dhomepage
new file mode 100644
index 000000000..1a5a23214
--- /dev/null
+++ b/Completion/Debian/Command/_dhomepage
@@ -0,0 +1,13 @@
+#compdef dhomepage
+
+local arguments
+
+arguments=(
+ '(-v --vcs)'{-v,--vcs}'[open VCS homepage instead]'
+ '(-e --echo)'{-e,--echo}'[only print URL]'
+ '(- : *)'{-h,--help}'[show help]'
+ '(- : *)--version[show version information]'
+ ':package:_deb_packages avail'
+)
+
+_arguments -A '-*' : $arguments
diff --git a/Completion/Debian/Command/_dpkg-info b/Completion/Debian/Command/_dpkg-info
new file mode 100644
index 000000000..548378a5b
--- /dev/null
+++ b/Completion/Debian/Command/_dpkg-info
@@ -0,0 +1,3 @@
+#compdef dpkg-info
+
+_deb_packages avail
diff --git a/Completion/Debian/Command/_which-pkg-broke b/Completion/Debian/Command/_which-pkg-broke
new file mode 100644
index 000000000..4a71f52c5
--- /dev/null
+++ b/Completion/Debian/Command/_which-pkg-broke
@@ -0,0 +1,3 @@
+#compdef which-pkg-broke
+
+_deb_packages avail