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 | eed4ed9819df29a0b9824f7b983dee33ccda9e32 (patch) | |
tree | e72552ca10098ef422745007646a8d9fa3929d05 | |
parent | Install up CGI with mode 700 (diff) | |
download | src-eed4ed9819df29a0b9824f7b983dee33ccda9e32.tar.gz src-eed4ed9819df29a0b9824f7b983dee33ccda9e32.zip |
Actually fix nvim and doas presence tests
Diffstat (limited to '')
-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 |