<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 5 août 2011 à 15:36, Brandon Allbery a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">On Fri, Aug 5, 2011 at 07:17, ENDERLIN Christophe <span dir="ltr"><<a href="mailto:c.enderlin@me.com">c.enderlin@me.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div><div>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 ?</div></div></div></blockquote></div><div><br></div>
<div>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 <a href="http://zsh.org/">zsh.org</a>.</div>
<div><br></div><div>A quick way to check what kind of shell you are running:</div><div><br></div><div><div><div> geran:241 Z$ echo $PS1 # sh-style</div><div> geran:! Z$</div></div><div> geran:242 Z$ echo $prompt # csh-style</div>
<div> geran:! Z$</div><div><br></div></div>(zsh, naturally, passes both.)<div><br>-- <br>brandon s allbery <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>
wandering unix systems administrator (available) (412) 475-9364 vm/sms</div></div></blockquote><blockquote type="cite"><div dir="ltr"><div><br>
</div></div>
</blockquote><br></div><div>Thanks a lot for those answers. I guess I have really many many things to learn in Unix ! ;-)</div><div><br></div><div>Christophe</div><br></body></html>