summary refs log tree commit diff
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
commite96505b395d5cea1175c5b1aa7a3d6c0693bc456 (patch)
treeb54a5b9897df05b6106970dca8869f3b16f519f8
parentAdd LC_COLLATE=C to ls alias (diff)
downloadsrc-e96505b395d5cea1175c5b1aa7a3d6c0693bc456.tar.gz
src-e96505b395d5cea1175c5b1aa7a3d6c0693bc456.zip
Fix doas check
-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