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

Re: Truncate $functions



On Feb 15,  9:11am, Bart Schaefer wrote:
} Subject: Re: Truncate $functions
}
} 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.

I've just been prodding at this and "unset functions" removes the special
variable as expected -- to get it back I have to unload and reload the
zsh/parameter module.

Can you show an example of "unset functions" behaving differently?



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