2021-05-19 13:23:15 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# import general use aliases
|
|
|
|
[[ -r ~/.alias ]] && . ~/.alias
|
|
|
|
|
2022-06-09 13:53:09 +02:00
|
|
|
# config files
|
|
|
|
alias cb="vim ~/.config/bspwm/bspwmrc"
|
|
|
|
alias cs="vim ~/.config/sxhkd/sxhkdrc"
|
|
|
|
|
2021-05-19 13:23:15 +02:00
|
|
|
# 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-22 10:06:01 +02:00
|
|
|
alias xun="xi -Sun | 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"
|
|
|
|
alias xs="xqr -Rs"
|
|
|
|
alias xqs="xqr -S"
|
|
|
|
alias xqm="xqr -m"
|
|
|
|
alias xql="xqr -l"
|
2021-05-19 13:23:15 +02:00
|
|
|
alias xqq="xql | grep ${1}"
|
|
|
|
|
2022-06-10 14:24:01 +02:00
|
|
|
alias xcln="xr -oO"
|
2022-02-19 16:05:55 +01:00
|
|
|
|
|
|
|
# Docker
|
|
|
|
alias dc=docker-compose
|
2023-05-22 10:06:01 +02:00
|
|
|
|
|
|
|
eval "$(thefuck --alias)"
|