X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.shellrc;h=e47cda2abd976cfa13f98fccf3705c1146a585c8;hb=f2763b86760c3b58c1665b0476730aa4db80d858;hp=eb741b1345c1124b90dc9bc7a96ece9ffe7c3357;hpb=41552ba848ec72fd207ae6fba1ab97b55574c2f6;p=dotfiles.git diff --git a/.shellrc b/.shellrc index eb741b1..e47cda2 100644 --- a/.shellrc +++ b/.shellrc @@ -8,8 +8,7 @@ PS1="$OPS1 " case "$HOME" in /home/*) - home_link="`readlink /home`" - if [ -n "$home_link" ]; then + if [ -L /home ]; then START_DIR="`pwd`" && cd "$HOME" && HOME="`pwd`" &&