* dash doesn't support ~ in path; set it exactly
authorDon Armstrong <don@donarmstrong.com>
Sun, 12 Sep 2010 06:24:49 +0000 (06:24 +0000)
committerDon Armstrong <don@donarmstrong.com>
Sun, 12 Sep 2010 06:24:49 +0000 (06:24 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index c1bdbbe..fb14d95 100644 (file)
--- 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;