[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing my path variable for KDE and ssh sessions



Incoming from Mr Mike:
> On Thursday 28 April 2005 01:35 am, Rhys Hardwick wrote:
> > 
> > I want to add ~/bin to my path.  I have changed the setting in .bashrc in my 
> 
> ~/.bash-profile but mine already sets the path to my /home/usr/bin
.........^

~/.bash_profile:

   PATH=$PATH:~/bin
   export PATH

Then make sure ~/.bash_profile sources ~/.bashrc, and ~/.bashrc has
its guts wrapped in:

   if [ "${PS1}x" != "x" ]; then

     alias yada=yada
     # etc ...

   fi


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling      Please don't Cc: me.
- -



Reply to: