Compare commits
2 Commits
c4b37c2c5b
...
c00e6d09ef
Author | SHA1 | Date | |
---|---|---|---|
c00e6d09ef | |||
e57fe1194e |
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user