Le 5 août 2011 à 15:36, Brandon Allbery a écrit : > On Fri, Aug 5, 2011 at 07:17, ENDERLIN Christophe <[email protected]> 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 [email protected] > wandering unix systems administrator (available) (412) 475-9364 vm/sms >
Thanks a lot for those answers. I guess I have really many many things to learn in Unix ! ;-) Christophe
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
