diff --git a/rc/profile b/rc/profile index 5231533c..619e1b50 100644 --- a/rc/profile +++ b/rc/profile @@ -1,4 +1,4 @@ -if [ -f ~/.$(echo $SHELL|cut -d/ -f3)rc ]; then +if [ -f ~/.$(echo $SHELL|cut -d/ -f3)rc ] && [ x$DISPLAY != x ]; then source ~/.$(echo $SHELL|cut -d/ -f3)rc fi setxkbmap -option compose:lwin -option terminate:ctrl_alt_bksp