From 7a05fed3f8ebf3a720be0fdebd38f16507da0fff Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 18 Jul 2020 12:13:28 -0400 Subject: Actually fix nvim and doas presence tests --- home/.profile | 2 +- home/.shrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'home') 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 -- cgit 1.4.1