Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: hashcmd path
- X-seq: zsh-workers 22344
- From: Clint Adams <clint@xxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: hashcmd path
- Date: Tue, 14 Mar 2006 12:56:32 -0500
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <060313200008.ZM17898@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20060314033129.GA9783@xxxxxxxxxxx> <060313200008.ZM17898@xxxxxxxxxxxxxxxxxxxxxx>
> 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