Created
June 7, 2020 07:44
-
-
Save adriaanm/a865efdfd768b57535e32aac7dc8ebbc to your computer and use it in GitHub Desktop.
zsrhc using https://github.com/zdharma/zinit
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
### Added by Zinit's installer | |
if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then | |
print -P "%F{33}▓▒░ %F{220}Installing %F{33}DHARMA%F{220} Initiative Plugin Manager (%F{33}zdharma/zinit%F{220})…%f" | |
command mkdir -p "$HOME/.zinit" && command chmod g-rwX "$HOME/.zinit" | |
command git clone https://github.com/zdharma/zinit "$HOME/.zinit/bin" && \ | |
print -P "%F{33}▓▒░ %F{34}Installation successful.%f%b" || \ | |
print -P "%F{160}▓▒░ The clone has failed.%f%b" | |
fi | |
source "$HOME/.zinit/bin/zinit.zsh" | |
autoload -Uz _zinit | |
(( ${+_comps} )) && _comps[zinit]=_zinit | |
### End of Zinit's installer chunk | |
# Two regular plugins loaded without investigating. | |
zinit light zsh-users/zsh-autosuggestions | |
zinit light zdharma/fast-syntax-highlighting | |
# Plugin history-search-multi-word loaded with investigating. | |
zinit load zdharma/history-search-multi-word | |
# Load the pure theme, with zsh-async library that's bundled with it. | |
zinit ice pick"async.zsh" src"pure.zsh" | |
zinit light sindresorhus/pure | |
# A glance at the new for-syntax – load all of the above | |
# plugins with a single command. For more information see: | |
# https://zdharma.org/zinit/wiki/For-Syntax/ | |
zinit for \ | |
light-mode zsh-users/zsh-autosuggestions \ | |
light-mode zdharma/fast-syntax-highlighting \ | |
zdharma/history-search-multi-word \ | |
light-mode pick"async.zsh" src"pure.zsh" \ | |
sindresorhus/pure | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment