Compare commits
No commits in common. "vbm" and "patch2" have entirely different histories.
|
@ -0,0 +1 @@
|
|||
.history
|
2
LICENSE
2
LICENSE
|
@ -1,3 +1,5 @@
|
|||
vbm - An XBPS package management helper for VoidLinux
|
||||
as
|
||||
vpm - An XBPS package management helper for VoidLinux
|
||||
|
||||
Copyright (C) 2016 Armin Jenewein <a@m2m.pm>
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
source /usr/share/bash-completion/completions/xbps
|
||||
|
||||
_vbm()
|
||||
{
|
||||
local cur prev words cword
|
||||
_init_completion || return
|
||||
|
||||
local subcommands='sync
|
||||
update
|
||||
listrepos
|
||||
repolist
|
||||
addrepo
|
||||
about
|
||||
filelist
|
||||
deps
|
||||
reverse
|
||||
search
|
||||
searchfile
|
||||
list
|
||||
install
|
||||
devinstall
|
||||
listalternatives
|
||||
setalternative
|
||||
reconfigure
|
||||
forceinstall
|
||||
remove
|
||||
removerecursive
|
||||
cleanup
|
||||
autoremove
|
||||
help
|
||||
helppager'
|
||||
local all_pkgs='about|a|filelist|fl|deps|reverse|rv|search|s|install|i|devinstall|di'
|
||||
local installed_pkgs='listalternatives|la|setalternative|sa|reconfigure|rc|forceinstall|fi|remove|rm|removerecursive|rc'
|
||||
|
||||
if [[ $prev == @($1) ]]; then
|
||||
COMPREPLY=( $( compgen -W "$subcommands" -- "$cur") )
|
||||
elif [[ $prev == @($all_pkgs) ]]; then
|
||||
COMPREPLY=( $(compgen -W '$(_xbps_all_packages)' -- "$cur") )
|
||||
elif [[ $prev == @($installed_pkgs) ]]; then
|
||||
COMPREPLY=( $(compgen -W '$(_xbps_installed_packages)' -- "$cur") )
|
||||
fi
|
||||
|
||||
} &&
|
||||
complete -F _vbm vbm
|
|
@ -1,3 +0,0 @@
|
|||
function S --description 'alias S vbm S'
|
||||
vbm S $argv;
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function a --description 'alias a vbm a'
|
||||
vbm a $argv;
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function i --description 'alias i vbm i'
|
||||
vbm i $argv;
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function s --description 'alias s vbm s'
|
||||
vbm s $argv;
|
||||
end
|
Binary file not shown.
After Width: | Height: | Size: 205 KiB |
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
Binary file not shown.
After Width: | Height: | Size: 330 KiB |
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
Loading…
Reference in New Issue