gcc 4.6 port for OSX Lion

Brandon Allbery allbery.b at gmail.com
Fri Aug 5 06:36:39 PDT 2011


On Fri, Aug 5, 2011 at 07:17, ENDERLIN Christophe <c.enderlin at me.com> wrote:

> 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 ?
>

Both, as it turns out :)  zsh defaults to sh-like when there is a conflict
between them, although you can set CSH_JUNKIE_* variables to make it prefer
various csh-style constructs; see the manpage or the rather voluminous HTML
documentation available via zsh.org.

A quick way to check what kind of shell you are running:

    geran:241 Z$ echo $PS1 # sh-style
    geran:! Z$
    geran:242 Z$ echo $prompt # csh-style
    geran:! Z$

(zsh, naturally, passes both.)

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


More information about the macports-users mailing list