On Fri, 18 Feb 2005 17:28, Steve Holdoway wrote:
>  Anyway, bash uses .bash_profile for this purpose. If you add
> the line
>
> PATH=:$PATH
>
> to this file, or, if there is a line that extends $PATH in any way, then
> add a : immediately after the =, then this modifies it so that it looks in
> your current directory first.
Isn't that considered a rather dangerous no no?
Much safer imho to put the current directory at the end of the PATH. vis:-

export PATH=$PATH:.

--
C. S.

Reply via email to