summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-27 17:25:02 -0400
committerJune McEnroe <june@causal.agency>2020-03-27 17:25:02 -0400
commitf543574c52bd3c5489278166af0be0f4d9185cc4 (patch)
tree1e936a5311ddc7e8b1f6445506bbda1c1c4c65bb /home
parentRemove gpg configuration (diff)
downloadsrc-f543574c52bd3c5489278166af0be0f4d9185cc4.tar.gz
src-f543574c52bd3c5489278166af0be0f4d9185cc4.zip
Only cd in .profile if /usr/home exists
Diffstat (limited to 'home')
-rw-r--r--home/.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.profile b/home/.profile
index 2d34ed83..20576362 100644
--- a/home/.profile
+++ b/home/.profile
@@ -17,6 +17,6 @@ export NETHACKOPTIONS='pickup_types:$!?+/=, color, DECgraphics'
 
 type nvim >/dev/null || EDITOR=vim
 [ -e /usr/share/mk/sys.mk ] || export CFLAGS=-O
-cd
+[ -d /usr/home ] && cd
 
 export ENV=~/.shrc