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

Re: Request about unhash / unfunction / unset



On Mon, 23 Mar 2015 21:06:26 +0000
Larry Schrof <larrys@xxxxxx> wrote:
> I would like to humbly request that if zsh is asked to unhash an entry
> that is not in the hash table, it silently does nothing if the entry
> was not previously there. (Instead of generating an error message.)

In fact, unset already works like that: we changed it because that's
what the standard requires.  So it might make sense to be consistent.

I see bash is silent with "unset -f" which is unfunction but not
"unalias".

pws



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