Update to void

This commit is contained in:
fanyx 2021-09-12 09:19:35 +02:00
parent ac9fc68c54
commit b6906e65a9
3 changed files with 6 additions and 9 deletions

2
.alias
View File

@ -21,6 +21,6 @@ alias mkdir="mkdir -p"
alias k="kubectl"
complete -F __start_kubectl k
which kubectx kubens >/dev/null && \
which kubectx kubens &>/dev/null && \
alias kx="kubectx" && \
alias kn="kubens"

View File

@ -4,12 +4,13 @@
[[ -r ~/.alias ]] && . ~/.alias
# xbps-install
alias xin="doas xbps-install -S"
# use xtools instead
# alias xin="doas xbps-install -S"
alias xup="doas xbps-install -Su"
# xbps-query
alias xq="xbps-query"
alias xs="xq -Rs"
# alias xq="xbps-query"
# alias xs="xq -Rs"
alias xqs="xq -S"
alias xqm="xq -m"
alias xql="xq -l"
@ -18,7 +19,3 @@ alias xqq="xql | grep ${1}"
# xbps-remove
alias xr="doas xbps-remove -R"
alias xcln="xr -o"
# config edits
alias cb="vim $HOME/.config/bspwm/bspwmrc"
alias csx="vim $HOME/.config/sxhkd/sxhkdrc"

View File

@ -39,4 +39,4 @@ shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
complete -cf doas
eval "$(direnv hook bash)"