I think you have to actually use ${HOME} not ~<br><br><div class="gmail_quote">On Wed, Mar 19, 2008 at 12:15 AM, Zach &lt;<a href="mailto:netrek@gmail.com">netrek@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am trying to include $HOME/bin in my PATH in bash yet it doesn&#39;t work.<br>
<br>
In my .bashrc I have:<br>
<br>
# set PATH so it includes user&#39;s private bin if it exists<br>
if [ -d ~/bin ] ; then<br>
 &nbsp; &nbsp;PATH=~/bin:&quot;${PATH}&quot;<br>
fi<br>
<br>
Yet when I echo $PATH it only shows:<br>
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games<br>
<br>
I even added it explicitly to the PATH list in my .bashrc but it still<br>
doesn&#39;t show up in $PATH:<br>
PATH=/usr/local/java2/bin:/usr/local/bin:/usr/local/contrib/bin:/afs/club.cc.cmu.edu/usr/chaos/bin:&quot;${PATH}&quot;<br>
<font color="#888888"><br>
Zach<br>
_______________________________________________<br>
wplug mailing list<br>
<a href="mailto:wplug@wplug.org">wplug@wplug.org</a><br>
<a href="http://www.wplug.org/mailman/listinfo/wplug" target="_blank">http://www.wplug.org/mailman/listinfo/wplug</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Mackenzie Morgan<br>Linux User #432169<br>ACM Member #3445683<br><a href="http://ubuntulinuxtipstricks.blogspot.com">http://ubuntulinuxtipstricks.blogspot.com</a> &lt;-my blog of Ubuntu stuff<br>
apt-get moo