zsh-workers
 help / color / mirror / code / Atom feed
* Autoloaded objects lifetime
@ 2001-06-17 17:14 Andrej Borsenkow
  2001-06-17 18:31 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Andrej Borsenkow @ 2001-06-17 17:14 UTC (permalink / raw)
  To: ZSH Workers Mailing List

Currently autoloadable objects disappear after modules have been loaded 
(I looked for builtins but I guess it is true for other as well). If 
module is unloaded, these objects disappear. Like

{pts/3}% ulimit
unlimited
{pts/3}% zmodload -u zsh/rlimits
{pts/3}% ulimit
zsh: command not found: ulimit

Is it intended behaviour?

-andrej


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

* Re: Autoloaded objects lifetime
  2001-06-17 17:14 Autoloaded objects lifetime Andrej Borsenkow
@ 2001-06-17 18:31 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2001-06-17 18:31 UTC (permalink / raw)
  To: Andrej Borsenkow, ZSH Workers Mailing List

On Jun 17,  9:14pm, Andrej Borsenkow wrote:
}
} Currently autoloadable objects disappear after modules have been loaded 
} (I looked for builtins but I guess it is true for other as well). If 
} module is unloaded, these objects disappear.
} 
} Is it intended behaviour?

It corresponds to the behavior of `autoload func; func; unfunction func'
so I think it is intentional.

Whether it's desirable is a different matter.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


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

end of thread, other threads:[~2001-06-17 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-17 17:14 Autoloaded objects lifetime Andrej Borsenkow
2001-06-17 18:31 ` Bart Schaefer

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).