zsh/aliases/void
2016-11-23 09:58:17 +01:00

22 lines
295 B
Bash

#!/bin/zsh
grep -q "void" /etc/os-release || return
alias xq="xbps-query -Rs"
alias xfiles="xbps-query -f"
alias xupdate="xbps-install -Su"
function xowner() {
xbps-query -Ro "*${1}*"
}
sv() {
command sv "$@"
if [[ "$1" == "up" ]]; then
shift
sleep 0.5
command sv check "$@"
fi
}