gcc 4.6 port for OSX Lion

ENDERLIN Christophe c.enderlin at me.com
Fri Aug 5 04:17:49 PDT 2011


Le 5 août 2011 à 12:52, Brandon Allbery a écrit :

> 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

I'm currently using zsh and I confirm that rehash works for me. But I don't know if zsh is sh-like or csh-like shell ?

> 
> -- 
> 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/e737458a/attachment.html>


More information about the macports-users mailing list