On Tue, Aug 07, 2007 at 05:32:49PM +0200, Manon Metten wrote:
> Hi,
> 
> I want to add the dir ~/scripts to my path, what command do I use for that?
> 
> M> echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/games
> 
> But how do I add ~/scripts to that path?

I saw nobody in the thread suggested this:

Instead of a ~/script dir I use a ~/bin dir and didn't need to change 
anything because ~/.bash_profile already contains:

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

Of course, this is Debian specific, while the other solutions should 
apply to any distro.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature

Reply via email to