-
Notifications
You must be signed in to change notification settings - Fork 12
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
v1.2.0 #49
Merged
Merged
v1.2.0 #49
Conversation
This file contains 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
molovo
force-pushed
the
version-1.2.x
branch
from
February 26, 2017 12:03
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 manpath
command for adding/removing directories from$manpath
(Add manpath command #48)post_install
script 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
,--private
options tozulu var add
, which stores private variables in a separate file, allowing you to exclude them from version control. Just add~/.config/zulu/env.private
to your.gitignore
file. (Allow environment variables to marked as 'private' #62)-y
,--no-confirmation
options tozulu ugprade
, which will stop the script asking for confirmation before upgrading packages. (93cb2fd)-t
,--type
option tozulu list
, to allow filtering of packages by their type, e.g.zulu list --type theme
. (d6def7b)zulu theme
command. (55a0cc5)--dev
option tozulu init
for 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 update
andzulu upgrade
commands 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_USE
environment 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)src
directory, and the scriptbuild.zsh
has been added to the repository, which concatenates all the source files into a single script with comments removed for speed.self-update
command has been modified to run thebuild.zsh
script once it has finished downloading updates.compile
command, which runszcompile
on 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
.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 tozulu init
to avoid this.Bugfixes
zulu cdpath
command - These had already been fixed forpath
andfpath
. (b98d5af)$path
,$fpath
and$cdpath
are always unique. (212ca93) (Also fixed in the install script in commit e70cf7b).zulu theme
command which would store a theme name, even if the theme did not exist and the command returned an error. (6faa801)zulu install
andzulu uninstall
commands are now far better at catching and reporting errors. (3e24dab and 29a192a)$IFS
is handled safely in a number of places where it was previously being reassigned globally.zulu func
command would fail if the value of$EDITOR
included spaces (e.g.EDITOR='cat -e'
). This has now been resolved. (de6b454)Other