Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: hashcmd path



> The intent -- whether it still works I'm not sure -- is to hash as much
> of the path as has been searched, and then the next time a command is
> not found in the part already searched, hash some more.  The hash table
> thus never contains more than necessary.

Seems that pathchecked is empty when hashcmd() is called after a
spell-correction attempt, and thus the command being run never gets
hashed automatically.



Messages sorted by: Reverse Date, Date, Thread, Author