zsh/aliases/void

22 lines
295 B
Plaintext
Raw Normal View History

2016-01-05 03:09:18 +00:00
#!/bin/zsh
2016-01-05 03:15:54 +00:00
grep -q "void" /etc/os-release || return
2016-01-05 03:09:18 +00:00
alias xq="xbps-query -Rs"
2016-11-23 08:58:17 +00:00
alias xfiles="xbps-query -f"
alias xupdate="xbps-install -Su"
function xowner() {
xbps-query -Ro "*${1}*"
}
2016-01-05 03:09:18 +00:00
sv() {
command sv "$@"
if [[ "$1" == "up" ]]; then
shift
sleep 0.5
command sv check "$@"
fi
}