2021-05-19 13:23:15 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# import general use aliases
|
|
|
|
[[ -r ~/.alias ]] && . ~/.alias
|
|
|
|
|
|
|
|
# xbps-install
|
2021-09-12 09:19:35 +02:00
|
|
|
# use xtools instead
|
|
|
|
# alias xin="doas xbps-install -S"
|
2021-09-23 12:46:32 +02:00
|
|
|
alias xup="xi -Su"
|
2023-05-31 09:56:12 +02:00
|
|
|
alias xun="xi -S && xi -un | awk '{print \$2 \"\t- \" \$1}' | sed \"s/-\([^- ]*_.*\)/ -> \1/\""
|
2021-05-19 13:23:15 +02:00
|
|
|
|
2022-06-09 13:53:09 +02:00
|
|
|
complete -F _xbps_complete xi
|
|
|
|
|
2021-05-19 13:23:15 +02:00
|
|
|
# xbps-query
|
2021-09-23 12:46:32 +02:00
|
|
|
alias xqr="xbps-query"
|
2023-05-22 10:06:01 +02:00
|
|
|
|