fix zinit

This commit is contained in:
Flinner 2022-01-05 13:10:35 +03:00
parent cecbc15a3f
commit 62c866f358
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
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" && \
command git clone https://github.com/zdharma-continuum/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
@ -41,7 +41,7 @@ zplugin snippet OMZ::plugins/vi-mode/vi-mode.plugin.zsh
zplugin ice wait'1' lucid
zplugin load zdharma/fast-syntax-highlighting
zplugin load zdharma-continuum/fast-syntax-highlighting
zplugin ice wait'0' lucid
zplugin load 'flinner/zsh-emacs'