summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/.profile2
-rw-r--r--home/.shrc2
2 files changed, 2 insertions, 2 deletions
diff --git a/home/.profile b/home/.profile
index 031d2e1e..796e975f 100644
--- a/home/.profile
+++ b/home/.profile
@@ -15,7 +15,7 @@ export CLICOLOR=1
 export GPG_TTY=$(tty)
 export NETHACKOPTIONS='pickup_types:$!?+/=, color, DECgraphics'
 
-type nvim >/dev/null || EDITOR=vim
+type nvim >/dev/null 2>&1 || EDITOR=vim
 [ -e /usr/share/mk/sys.mk ] || export CFLAGS=-O
 [ -d /usr/home ] && cd
 
diff --git a/home/.shrc b/home/.shrc
index 65dda9da..feb679ef 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 2>/dev/null && alias sudo=doas
+type doas >/dev/null 2>&1 && alias sudo=doas
 
 cd() {
 	if [ $# -eq 0 ]; then
ckrc?id=96f6ec577591dab5130ba0a6a69bcffa84d1eabd&follow=1'>Play nethack as ValkyrieJune McEnroe 2017-07-28Add toggle to hnelJune McEnroe 2017-07-28Install slJune McEnroe 2017-07-25Add up, supJune McEnroe 2017-07-24Autopickup ringsJune McEnroe 2017-07-24Name dogJune McEnroe 2017-07-23Add nethackrcJune McEnroe 2017-07-23Remove useless setuid in briJune McEnroe 2017-07-23Clean up hnel a tiny bitJune McEnroe 2017-07-21Set window size in hnelJune McEnroe 2017-07-21Add hnelJune McEnroe 2017-07-19chmod 600 in dtchJune McEnroe