gcc 4.6 port for OSX Lion

Brandon Allbery allbery.b at gmail.com
Fri Aug 5 03:52:23 PDT 2011


On Fri, Aug 5, 2011 at 06:46, Brandon Allbery <allbery.b at gmail.com> wrote:

> changes them will render that information obsolete.  With bash (OSX
> default) and zsh, "hash -r" will update the seen command information; with
> tcsh, it's "rehash".
>

Just for completeness:  "rehash" is the historical command and should work
in any shell that supports command hashing (it's a built-in alias to "hash
-r" in bash and zsh, and a built-in in tcsh and ksh); and as a last resort
you can just make a dummy update to $PATH to force any command hash to be
discarded:

    PATH="$PATH" # in sh-like shells
    set path=($path) # in csh-like shells

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110805/169ce1de/attachment.html>


More information about the macports-users mailing list