Compare commits
No commits in common. "c00e6d09ef92d5c357af81e1a29141f4d2220a8c" and "c4b37c2c5bc63006bef53b26e4f9c3e21e500df7" have entirely different histories.
c00e6d09ef
...
c4b37c2c5b
@ -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
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Обновление конфигурации zsh, менджера zcomet и плагинов
|
# Обновление конфигурации zsh, менджера zcomet и плагинов
|
||||||
zu() {
|
zu() {
|
||||||
git -C ~/.config/zsh pull && zcomet self-update && zcomet update
|
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
|
command git -C "${ZCOMET_DIR}/prompt/powerlevel10k" pull
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user