summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-06-16 23:08:54 -0400
committerJune McEnroe <june@causal.agency>2020-06-16 23:08:54 -0400
commitde770daf93c2269e02b1f9ce3386e0ec85c05684 (patch)
tree0e1ad1f3b9d4f2a436a567c3a010772706602629 /home
parentAdd LC_COLLATE=C to ls alias (diff)
downloadsrc-de770daf93c2269e02b1f9ce3386e0ec85c05684.tar.gz
src-de770daf93c2269e02b1f9ce3386e0ec85c05684.zip
Fix doas check
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 2161ca89..65dda9da 100644
--- a/home/.shrc
+++ b/home/.shrc
@@ -15,7 +15,7 @@ alias gc='git commit' gca='gc --amend' gt='git tag'
 alias gp='git push' gu='git pull' gf='git fetch'
 alias rand='openssl rand -base64 33'
 alias private='eval "$(gpg -d ~/.private)"'
-type doas >/dev/null && alias sudo=doas
+type doas 2>/dev/null && alias sudo=doas
 
 cd() {
 	if [ $# -eq 0 ]; then