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

Re: changing my path variable for KDE and ssh sessions



On Thursday 28 April 2005 09:22 am, s. keeling wrote:
> 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
> ..........^

typo..  sorry..  .bash_profile is correct file..


> 
> ~/.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.
> - -
> 
> 

-- 
Cheers: Mike

.. Now, a little humor compliments of Linux Fortune...

Only adults have difficulty with childproof caps.

Attachment: pgpYDAUDLiAXS.pgp
Description: PGP signature


Reply to: