summaryrefslogtreecommitdiff
path: root/provides/zsh/completions/_apt-why
blob: a014c454599630d38b1b779670c064c47b3aa5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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=(
	'--all[consider all available packages]'
	'--depth=-[recursion depth]:recursion depth'
	'*--deptype=-[filter by dependency type]:dependency type:(Depends Recommends Suggests)'
	'*:package:_deb_packages "" avail'
)

_arguments -s $arguments