Исправлено условие для обновления

This commit is contained in:
Andrei Astafev 2022-06-04 06:09:26 +03:00
parent e57fe1194e
commit c00e6d09ef

View File

@ -1,7 +1,7 @@
# Обновление конфигурации zsh, менджера zcomet и плагинов
zu() {
git -C ~/.config/zsh pull && zcomet self-update && zcomet update
if [[ ! -f "${ZCOMET_DIR}/prompt/powerlevel10k/powerlevel10k.zsh-theme" ]]; then
if [[ -f "${ZCOMET_DIR}/prompt/powerlevel10k/powerlevel10k.zsh-theme" ]]; then
command git -C "${ZCOMET_DIR}/prompt/powerlevel10k" pull
fi
}