-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path_archpkg
More file actions
30 lines (26 loc) · 966 Bytes
/
_archpkg
File metadata and controls
30 lines (26 loc) · 966 Bytes
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
29
#compdef archpkg
# ==============================================================================
# Completion for archpkg
# ==============================================================================
function _archpkg ()
{
local options=(
'update:Update repos'
'check-updates:Check for update'
'upgrade-all:Upgrade all packages'
'clean-system:Clean useless packages and cached files'
'install:Install a package'
'reinstall:Reinstall a package'
'remove:Remove a package'
'download:Download a package but do not install it'
'info:Show info of a package'
'search:Search for package'
'file-search:Show which package provide the file'
'generate-template:Generate a template file contains all packages name'
'install-template:Install all packages from a template file'
'remove-template:Remove all packages from a template file'
'help:Show this help message'
)
_describe 'values' options
}
_archpkg