From bec5687922a9686e843437f9204a22d2bb31cde8 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 11 Jun 2020 17:07:12 -0400 Subject: Alias sudo=doas if available --- home/.shrc | 1 + 1 file changed, 1 insertion(+) (limited to 'home') diff --git a/home/.shrc b/home/.shrc index 00c4b2ba..fe3318b8 100644 --- a/home/.shrc +++ b/home/.shrc @@ -15,6 +15,7 @@ alias gc='git commit' gca='gc --amend' gt='git tag' alias gp='git push' gu='git pull' gf='git fetch' alias rand='openssl rand -base64 33' alias private='eval "$(gpg -d ~/.private)"' +type doas >/dev/null && alias sudo=doas cd() { if [ $# -eq 0 ]; then -- cgit 1.4.1