Re: Changing default setting of bash's hash table?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/8/19 Roberto Ragusa <mail@xxxxxxxxxxxxxxxx>
>
> On 08/19/2011 01:24 PM, Roman Rakus wrote:
> > I have a question, if it is worth to enable this option by default? It
> > will not confuse some people, but can increase disk searching. Comments
> > welcome.
>
> Confusion can only happen in this particular case, I think:
> 1) you run a command and the cache is populated
> 2) you delete the command
> 3) you try to run the command again, in the same shell
> 4) you expect bash to find the command in another path, but get an error instead
> Correct me if I'm wrong.
>
> I remember having had to use "hash -r" one or two times in my life
> for this kind of issues.
>

Not worth it, one can always use which to verify if command is gone or
is bash is going mad.
(It happened to me one, I used yum remove with -y and didn't expect
one dependency).

> > RR
> Hey, I'm RR too. :-)

Well, does MM count?

--
Greetings,
Maciej Małecki
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux