summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-18 12:13:28 -0400
committerJune McEnroe <june@causal.agency>2020-07-18 12:13:28 -0400
commiteed4ed9819df29a0b9824f7b983dee33ccda9e32 (patch)
treee72552ca10098ef422745007646a8d9fa3929d05
parentInstall up CGI with mode 700 (diff)
downloadsrc-eed4ed9819df29a0b9824f7b983dee33ccda9e32.tar.gz
src-eed4ed9819df29a0b9824f7b983dee33ccda9e32.zip
Actually fix nvim and doas presence tests
-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
Enroe 2017-08-19Move nethack options to envJune McEnroe 2017-08-17Remove scala syntax fileJune McEnroe 2017-08-06Add wakeJune McEnroe That payload can appear anywhere within an ethernet frame. Wake-on-LAN is funny. 2017-08-04Use $() in install.shJune McEnroe Something gave me the impression that sh did not like this, but it's specified by POSIX. 2017-08-02Create Code Tarmak 3 layoutJune McEnroe 2017-07-31Add tupJune McEnroe 2017-07-31Use designated initializer for hnel tableJune McEnroe I did not know this syntax worked! 2017-07-30Add juneJune McEnroe 2017-07-30Play 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 Don't you think it would be better if the setuid bit only gave you permission to do it and didn't do it for you? 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