Возможность пользовательской настройки p10k

This commit is contained in:
Andrei Astafev 2022-12-27 14:21:01 +03:00
parent 3819c3ee74
commit 188e40834e

View File

@ -6,7 +6,11 @@ if is-at-least 5.3; then
zinit light romkatv/powerlevel10k
# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.
[[ -r "$ZDOTDIR/.p10k.zsh" ]] && source "$ZDOTDIR/.p10k.zsh"
if [[ -r "$ZDOTDIR/.p10k.user.zsh" ]]; then
source "$ZDOTDIR/.p10k.user.zsh"
else
[[ -r "$ZDOTDIR/.p10k.zsh" ]] && source "$ZDOTDIR/.p10k.zsh"
fi
else
zinit light agkozak/agkozak-zsh-prompt
fi