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
commit0a9f058856cad6e26c1087ba9f4476f25ace00fa (patch)
tree3b20ac8c5f7082ea79c4d7aff646f687d10fb53f /home
parentRemove gpg configuration (diff)
downloadsrc-0a9f058856cad6e26c1087ba9f4476f25ace00fa.tar.gz
src-0a9f058856cad6e26c1087ba9f4476f25ace00fa.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