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

Auto-correct and newly-added commands



When I add a command to a directory that's included in PATH, the first time I try to run this command, zsh tries to auto-correct it, to which I reply "n".

It it possible to have zsh automatically run "rehash" after I reply no to an auto-correct prompt, so it "learns" this new command?

Thanks in advance,
Daniel Serodio



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