summaryrefslogtreecommitdiff
path: root/provides/zsh/completions
diff options
context:
space:
mode:
Diffstat (limited to 'provides/zsh/completions')
-rw-r--r--provides/zsh/completions/_apt-why14
1 files changed, 14 insertions, 0 deletions
diff --git a/provides/zsh/completions/_apt-why b/provides/zsh/completions/_apt-why
new file mode 100644
index 0000000..ca76522
--- /dev/null
+++ b/provides/zsh/completions/_apt-why
@@ -0,0 +1,14 @@
+#compdef apt-why
+## Completion for apt-why
+## Daniel Friesel <derf@derf.homelinux.org>
+## https://derf.homelinux.org/~derf/dotfiles/completion/_apt-why
+## see also: https://derf.homelinux.org/~derf/code/apt-why
+
+typeset -a arguments
+
+arguments=(
+ '--not'
+ '*:package:_deb_packages "" avail'
+)
+
+_arguments -s $arguments