Compare commits

..

No commits in common. "c00e6d09ef92d5c357af81e1a29141f4d2220a8c" and "c4b37c2c5bc63006bef53b26e4f9c3e21e500df7" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
if is-at-least 5.3; then
if is-at-least 5.1; 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
}