summaryrefslogtreecommitdiff
path: root/etc/completions/_pkg
blob: 129197c39c346c66b4185dc061a16ea824c064d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#compdef pkg
## vim:ft=zsh

local values
local arguments

values=(
	'add'
	'changelog'
	'changeroot'
	'delete'
	'info'
	'install'
	'list'
	'list-all'
	'local-update'
	'log'
	'remote-update'
	'remove'
	'status'
	'update'
	'upgrade'
)
arguments=(
	'*:file:_path_files -W /home/derf/packages -/'
)
_values -w -s ' ' 'pkg function' $values
_arguments -s $arguments