From: Don Armstrong Date: Sun, 12 Sep 2010 06:24:49 +0000 (+0000) Subject: * dash doesn't support ~ in path; set it exactly X-Git-Url: https://git.donarmstrong.com/?p=home-base.git;a=commitdiff_plain;h=138981e5cada8299569f295ff587cc230c8bd9de;ds=sidebyside * dash doesn't support ~ in path; set it exactly --- diff --git a/.bashrc b/.bashrc index c1bdbbe..fb14d95 100644 --- a/.bashrc +++ b/.bashrc @@ -132,7 +132,7 @@ if [ "$PS1" ]; then if [ "$(hostname)" == "liszt" ] && [ -d /var/list/.bin ]; then PATH="/var/list/.bin:$PATH" fi; - export PATH="~/bin:$PATH" + export PATH="$(getent passwd $(id -u)|awk -F: '{print $6}')/bin:$PATH" if [ ! -e ~/tmp ]; then mkdir ~/tmp;