<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 25, 2014 at 5:13 AM, Mojca Miklavec <span dir="ltr">&lt;<a href="mailto:mojca@macports.org" target="_blank">mojca@macports.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1d3" class="a3s" style="overflow:hidden">Indeed. Starting a new shell or running &quot;hash -r&quot; fixed the problem.<br>
Weird, I didn&#39;t know that binary locations are cached.</div></blockquote></div><br>Shells have cached locations since the original csh (which uses &quot;rehash&quot;; &quot;hash -r&quot; came from ksh). &quot;type&quot; will tell you this; &quot;which&quot; usually won&#39;t (and in fact will in generally only reliably tell you what the next shell you start will see, not what the *current* shell sees).<br><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>