This website requires JavaScript.
Explore
Help
Register
Sign In
psi-jack
/
zimfw
mirror of
Watch
1
Star
0
Fork
You've already forked zimfw
0
Code
Issues
Releases
Wiki
Activity
93bbc35634
zimfw
/
src
/
stage1
/
80_zimfw.zsh.erb
5 lines
95 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Generate static init.zsh script \o/ to autoloads the functions and sources the scripts, instead of executing zimfw during startup, and having it always figuring out what do to on the fly. This takes out the worry about zimfw interfering with the startup time, and allows room to add more features to it. So, zstyle was replaced by a custom zmodule function to define the modules, with the extra ability of allowing users to set custom fpath paths, autoloaded functions and sourced scripts per module.
2019-12-01 16:00:47 -05:00
if [[ ${1} == (compile|login-init) && ${2} == (|-q) ]]; then
_zimfw_compile ${2}
return
fi