summary refs log tree commit diff
diff options
context:
space:
mode:
-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