dotfiles/.void.bash_aliases

32 lines
601 B
Bash

#!/bin/bash
# import general use aliases
[[ -r ~/.alias ]] && . ~/.alias
# config files
alias cb="vim ~/.config/bspwm/bspwmrc"
alias cs="vim ~/.config/sxhkd/sxhkdrc"
# xbps-install
# use xtools instead
# alias xin="doas xbps-install -S"
alias xup="xi -Su"
alias xun="xi -Sun | awk '{print \$2 \"\t- \" \$1}' | sed \"s/-\([^- ]*_.*\)/ -> \1/\""
complete -F _xbps_complete xi
# xbps-query
alias xqr="xbps-query"
alias xs="xqr -Rs"
alias xqs="xqr -S"
alias xqm="xqr -m"
alias xql="xqr -l"
alias xqq="xql | grep ${1}"
alias xcln="xr -oO"
# Docker
alias dc=docker-compose
eval "$(thefuck --alias)"