hash doesn't turn off
dbn.lists at gmail.com
Thu Aug 3 13:22:21 PDT 2006
On 8/3/06, Randy McMurchy <lfs-user at mcmurchy.com> 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.
More information about the lfs-support