Compile zulu source and package files #56
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A number of changes made to the way Zulu and its packages are loaded in
order to dramatically increase startup performance.
srcdirectory, and the scriptbuild.zshhas been added to the repository, which concatenates all the source files into a single script with comments removed for speed.self-updatecommand has been modified to run thebuild.zshscript once it has finished downloading updates.compilecommand, which runszcompileon Zulu itself, all files in~/.zulu/{bin,share,init}, the completion cache and the following files in the user's$ZDOTDIR:.zlogin.zshenv.zprofile.zshrc.zlogoutThe end result is a massive increase in startup speed.
zulu compileis run in the background to compile sources on startup. A new--no-compileoption has been added tozulu initto avoid this.The install script has been modified in zulu-zsh/install#4 to include the build step, so this will need to be merged at the same time.
Fix #54