From bb15222740040d3620cf6bc59f9bf42cb7619c98 Mon Sep 17 00:00:00 2001 From: Steffen Rademacker Date: Tue, 18 May 2021 17:21:38 +0200 Subject: [PATCH] Minor zsh fixes --- zsh/zshrc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 1cc15d1..b95e262 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,10 +1,9 @@ ### 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" + 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"