From 8112ebd796e779d6a46ded9080854d3aa523280d Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 27 Sep 2021 16:41:04 -0400 Subject: Invert doas/sudo alias Gotten a lot more used to running doas! --- home/.shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.shrc b/home/.shrc index 7f4d08dc..10f87d34 100644 --- a/home/.shrc +++ b/home/.shrc @@ -16,7 +16,7 @@ alias gc='git commit' gca='gc --amend' gt='git tag' alias gp='git push' gu='git pull' gf='git fetch' gr='git rebase' alias rand='openssl rand -base64 33' alias private='eval "$(gpg -d ~/.private)"' -command -v doas >/dev/null && alias sudo=doas +command -v doas >/dev/null || alias doas=sudo man() { test $# -ne 1 && { command man "$@"; return $?; } -- cgit 1.4.1