diff options
author | June McEnroe <june@causal.agency> | 2020-07-18 12:13:28 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-18 12:13:28 -0400 |
commit | 7a05fed3f8ebf3a720be0fdebd38f16507da0fff (patch) | |
tree | 3364dbfd7512f6b68044f528792858dbe3ffdfa8 /home | |
parent | Install up CGI with mode 700 (diff) | |
download | src-7a05fed3f8ebf3a720be0fdebd38f16507da0fff.tar.gz src-7a05fed3f8ebf3a720be0fdebd38f16507da0fff.zip |
Actually fix nvim and doas presence tests
Diffstat (limited to 'home')
-rw-r--r-- | home/.profile | 2 | ||||
-rw-r--r-- | home/.shrc | 2 |
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 |