zsh-users
 help / color / mirror / code / Atom feed
* local unfunction
@ 2018-03-30 16:11 Ray Andrews
  2018-03-30 18:47 ` Bart Schaefer
  2018-03-30 20:10 ` Mikael Magnusson
  0 siblings, 2 replies; 6+ messages in thread
From: Ray Andrews @ 2018-03-30 16:11 UTC (permalink / raw)
  To: Zsh Users

Is it possible to unfunction something just within another function?  
I've tried:

unset -fm ....

... but the functions remain dead after the calling function returns.  I 
can of course just resource them, but I'll bet the unset can be made local.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-03-31 14:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-30 16:11 local unfunction Ray Andrews
2018-03-30 18:47 ` Bart Schaefer
2018-03-31  0:30   ` Ray Andrews
2018-03-31  5:23     ` Bart Schaefer
2018-03-31 14:58       ` Ray Andrews
2018-03-30 20:10 ` Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).