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
master
zimfw
/
src
/
stage2
/
30_zimfw_build.zsh.erb
4 lines
101 B
Plaintext
Raw
Permalink
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
_zimfw_build() {
Remove prompt expansion from print statements and replace the foreground color and bold expansions by ANSI escape codes. This should make the print calls now safe and no expansion at all should happen as we're using `-R` -- unless the `-e` flag is given. Fixes #521. Closes #522
2023-09-16 14:16:19 -04:00
_zimfw_build_init && _zimfw_build_login_init && _zimfw_print 'Done with build.'
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
}