It's probably the 'whereis'. When I use in 'type -a clear' I get:
$type -a clear clear is /tools/bin/clear clear is /usr/bin/clear Nadav On 8/3/06, Dan Nicholson <[EMAIL PROTECTED]> wrote:
On 8/3/06, Randy McMurchy <[EMAIL PROTECTED]> wrote: > nadav vinik wrote these words on 08/03/06 09:00 CST: > > > Why the hashing is still working? > > Nothing actually *unset* the -h (the default) in the first place. > So, if /usr/bin/clear was found, *just once*, before you installed > it in /tools, it would still remember it in /usr/bin, regardless if > you 'set +h'. Not true. That's exactly what set +h keeps from happening. The default behavior (-h) is hashing the location of the previous command found. Turning off hashing (+h), forces a PATH search each time. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
