summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-27 16:41:04 -0400
committerJune McEnroe <june@causal.agency>2021-09-27 16:41:04 -0400
commit77e59bd2b896092d1308be1d40729515e902decb (patch)
tree18c75045a16ccabfd0c2407559c8b3b31e9f4e07 /home
parentAdd pyro to ssh config (diff)
downloadsrc-77e59bd2b896092d1308be1d40729515e902decb.tar.gz
src-77e59bd2b896092d1308be1d40729515e902decb.zip
Invert doas/sudo alias
Gotten a lot more used to running doas!
Diffstat (limited to 'home')
-rw-r--r--home/.shrc2
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 $?; }