summary refs log tree commit diff
path: root/home/.shrc
diff options
context:
space:
mode:
authorC. McEnroe <june@causal.agency>2021-09-27 16:41:04 -0400
committerC. McEnroe <june@causal.agency>2021-09-27 16:41:04 -0400
commit8112ebd796e779d6a46ded9080854d3aa523280d (patch)
tree7966dd1e46c3e96b548c6d85343d02113d59f287 /home/.shrc
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 7f4d08d..10f87d3 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 $?; }