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

Re: option to favor GNU tools instead of SunOS binaries?



The Wanderer <wanderer@fastmail.fm> writes:

> Modify your shell config file to prepend
> /it/sw/gnutools/bin/ to PATH, then launch a new
> instance of the shell.
>
> I don't know the filename or appropriate syntax for
> that file for zsh, but with bash it would be
> ~/.bashrc (or /etc/profile, or any file invoked from
> either) and
>
> PATH=/it/sq/gnutools/bin:"$PATH"
>
> and it's exceedingly unlikely that zsh doesn't have
> comparable functionality, even if with different
> syntax. (Actually, I think the functionality may be
> specified by POSIX, though I can't swear to that
> without research.)

No, of course!

Actually, /it/sq/gnutools/bin is already in the PATH
but the left-right priority didn't come to mind.

Thank you!

-- 
underground experts united
http://user.it.uu.se/~embe8573


Reply to: