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

Re: Truncate $functions



Thank you, this works really well. Side note, unset functions[...] has
problems with entries like ops+[, but unfunction doesn't.

Best regards,
Sebastian Gniazdowski


On 15 February 2016 at 18:11, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Feb 15,  8:55am, Sebastian Gniazdowski wrote:
> }
> } tried functions=( a b ), set -A functions ( a b ), unset functions but
> } all don't truncate functions.
>
> The functions array is special, you can't muck with it that way.  You need
>
> unfunction -m \*
>



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