-
Notifications
You must be signed in to change notification settings - Fork 12
v1.2.0 #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
v1.2.0 #49
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Feb 21, 2017
Merged
molovo
added a commit
that referenced
this pull request
Feb 26, 2017
This is not necessary right now, but is added so that the upgrade to [v1.2.0](#49) can be as seamless as possible. Otherwise, the user would have to run the build script manually after upgrading.
Add manpath command
Prevents the ZSH version being changed inadvertently whilst Zulu enters package directories to upgrade them.
Unset the ZVM_AUTO_USE env var when doing package upgrades
Perform startup update checks asynchronously
Only perform asynchronous updates in ZSH >5.1
Add a post_install step for packages
A number of changes made to the way Zulu and its packages are loaded in
order to dramatically increase startup performance.
* Source is now moved into `src` directory, and the script `build.zsh` has been added to the repository, which concatenates all the source files into a single script with comments removed for speed.
* The `self-update` command has been modified to run the `build.zsh` script once it has finished downloading updates.
* Adds a new `compile` command, which runs `zcompile` on the Zulu core, all files in `~/.zulu/{bin,share,init}`, the completion cache and the following files in the user's `$ZDOTDIR`:
* `.zlogin`
* `.zshenv`
* `.zprofile`
* `.zshrc`
* `.zlogout`
The end result is a massive increase in startup speed.
* `zulu compile` is run in the background to compile sources on startup. A new `--no-compile` option has been added to `zulu init` to avoid this.
…installing Allows for a faster clone, particularly on busy repositories, and since Zulu is managing the package we don't need the full commit history.
Compile zulu source and package files
Add --depth=1 and --shallow-submodules options to the git clone when installing
ac10d00 to
8600667
Compare
Merged
WIP: Unit testing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Features
zulu manpathcommand for adding/removing directories from$manpath(Add manpath command #48)post_installscript in their index file, which will be run during linking (Add a post_install step for packages #58)$ZULU_NO_PROGRESS=1. This is helpful when running zulu commands within a script. (6f5bddf)-p,--privateoptions tozulu var add, which stores private variables in a separate file, allowing you to exclude them from version control. Just add~/.config/zulu/env.privateto your.gitignorefile. (Allow environment variables to marked as 'private' #62)-y,--no-confirmationoptions tozulu ugprade, which will stop the script asking for confirmation before upgrading packages. (93cb2fd)-t,--typeoption tozulu list, to allow filtering of packages by their type, e.g.zulu list --type theme. (d6def7b)zulu themecommand. (55a0cc5)--devoption tozulu initfor Zulu developers. When enabled, Zulu will load the source for a command when it is executed, preventing the need to rebuild Zulu and reload the environment between changes. (Add --dev flag to zulu init #64)Improvements
zulu self-update,zulu updateandzulu upgradecommands have been rewritten so that updates will are more likely to succeed on branches other thanmaster. Local changes in the respective repositories are also now preserved between updates. (9b7191b, fea7606 and 12503d3)ZVM_AUTO_USEenvironment variable is unset before doing package upgrades to prevent the ZSH version being changed (Unset the ZVM_AUTO_USE env var when doing package upgrades #50)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.Bugfixes
zulu cdpathcommand - These had already been fixed forpathandfpath. (b98d5af)$path,$fpathand$cdpathare always unique. (212ca93) (Also fixed in the install script in commit e70cf7b).zulu themecommand which would store a theme name, even if the theme did not exist and the command returned an error. (6faa801)zulu installandzulu uninstallcommands are now far better at catching and reporting errors. (3e24dab and 29a192a)$IFSis handled safely in a number of places where it was previously being reassigned globally.zulu funccommand would fail if the value of$EDITORincluded spaces (e.g.EDITOR='cat -e'). This has now been resolved. (de6b454)Other