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

Re: Autoloading of compctl from dbm database file.



In <10492.199612011417@xxxxxxxxxxxxxxxxxxxxxxx>
on Sun, 1 Dec 1996 14:17:52 +0000 (GMT)
Zefram <zefram@xxxxxxxxxxxxxxxxx> writes:

> >Having aliases and functions in the database can be useful.  Remember my
> >example, putting
> >	ZDBFILE=database
> >	zdb -auf
> >at the top of any shell script is enough to access aliases and functions.
> 
> . ~/.zshenv
> 
> has much the same effect.

Sourcing the startup files does a lot of parsing.  With autoloading,
the parsing is delayed until needed.  Or, with binary databases,
loading the pre-built parse-tree is delayed until needed.

Regards,
fclim.



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