diff --git a/.bash_aliases b/.bash_aliases index dd2953b..8a76d9a 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -11,7 +11,8 @@ alias rm='rm -I' alias runhaskell='stack runhaskell' alias sort='sort -n' alias ssh='kitten ssh' -alias sudo='sudo ' +alias sudo='doas' +alias sudoedit='doas rvim' alias trayer='trayer -l --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --transparent true --tint 0x232634 --height 18 --monitor 1' alias trc='trash-empty' alias trl='trash-list' diff --git a/.bashrc b/.bashrc index 176b933..0ea647c 100644 --- a/.bashrc +++ b/.bashrc @@ -7,6 +7,7 @@ # Complete commands when using sudo and man complete -cf sudo +complete -cf doas complete -c man if [ -f ~/.bash_aliases ]; then