diff --git a/.alias b/.alias index c898472..cb7346e 100644 --- a/.alias +++ b/.alias @@ -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" diff --git a/.void.bash_aliases b/.void.bash_aliases index bed5c7b..38880e9 100644 --- a/.void.bash_aliases +++ b/.void.bash_aliases @@ -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" diff --git a/.void.bashrc b/.void.bashrc index 49b1952..19dabc6 100644 --- a/.void.bashrc +++ b/.void.bashrc @@ -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)"