From 71a0a5bd40973519b152d36113f61d12861ecc36 Mon Sep 17 00:00:00 2001 From: Daniele Fucini Date: Sun, 2 Mar 2025 22:28:39 +0100 Subject: [PATCH] Update bash config --- .bash_aliases | 3 ++- .bashrc | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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