diff options
author | June McEnroe <june@causal.agency> | 2021-09-27 16:41:04 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-09-27 16:41:04 -0400 |
commit | 77e59bd2b896092d1308be1d40729515e902decb (patch) | |
tree | 18c75045a16ccabfd0c2407559c8b3b31e9f4e07 | |
parent | Add pyro to ssh config (diff) | |
download | src-77e59bd2b896092d1308be1d40729515e902decb.tar.gz src-77e59bd2b896092d1308be1d40729515e902decb.zip |
Invert doas/sudo alias
Gotten a lot more used to running doas!
-rw-r--r-- | home/.shrc | 2 |
1 files changed, 1 insertions, 1 deletions
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 $?; } |