Compare commits

..

2 Commits

2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
if is-at-least 5.1; then
if is-at-least 5.3; then
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi

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
}