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

Re: Bug? in hash, beta11-test9



> I had a command
> 
>   hash -d foo /usr/bar/foo
> 
> in my .zshrc.  beta11 complains about this, and after I checked the
> man page, which says to use an equals sign, I changed it to the
> following (which does *not* work with beta10):
> 
>   hash -d foo=/usr/bar/foo
> 
> On this it doesn't complain, but it doesn't add ~foo into the hash
> directory.

Yes, the syntax for the hash command has changed (as you have noted).
This way the syntax for `hash' is the same as that for `alias'
and `typeset', etc ...

Unfortunately it appears a bug has crept in.  I have found the problem and
it will be fixed in the next snapshot.

rc



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