[wplug] PATH problem with Bash

Zach netrek at gmail.com
Tue Mar 18 23:41:01 EST 2008


On Wed, Mar 19, 2008 at 12:19 AM, Mackenzie Morgan <macoafi at gmail.com> wrote:
> I think you have to actually use ${HOME} not ~

Ok I changed my .bashrc but I still do not see $HOME/bin show up in my
$PATH. Here is what I have now:

# set PATH so it includes user's private bin if it exists
if [ -d ${HOME}/bin ] ; then
    PATH=${HOME}/bin:"${PATH}"
fi

PATH=/usr/local/java2/bin:/usr/local/bin:/usr/local/contrib/bin:/afs/club.cc.cmu.edu/usr/chaos/bin:"${PATH}"

And here is the PATH:

chaos at tellurium:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

Seems like it is just using some system defaults and not even adding
in anything from the PATH I have defined.

Zach


More information about the wplug mailing list