summary refs log tree commit diff
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
commit8112ebd796e779d6a46ded9080854d3aa523280d (patch)
tree7966dd1e46c3e96b548c6d85343d02113d59f287
parentAdd pyro to ssh config (diff)
downloadsrc-8112ebd796e779d6a46ded9080854d3aa523280d.tar.gz
src-8112ebd796e779d6a46ded9080854d3aa523280d.zip
Invert doas/sudo alias
Gotten a lot more used to running doas!
Diffstat (limited to '')
-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 $?; }