From 138981e5cada8299569f295ff587cc230c8bd9de Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 12 Sep 2010 06:24:49 +0000 Subject: [PATCH] * dash doesn't support ~ in path; set it exactly --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2