2022-06-04 03:07:41 +00:00
|
|
|
if is-at-least 5.3; then
|
2021-12-06 21:48:22 +00:00
|
|
|
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
|
2018-11-18 15:35:28 +00:00
|
|
|
|
2021-12-06 21:48:22 +00:00
|
|
|
if [[ ! -f "${ZCOMET_DIR}/prompt/powerlevel10k/powerlevel10k.zsh-theme" ]]; then
|
|
|
|
command git clone --depth=1 https://github.com/romkatv/powerlevel10k.git "${ZCOMET_DIR}/prompt/powerlevel10k"
|
2021-12-05 21:42:07 +00:00
|
|
|
fi
|
2021-12-06 21:48:22 +00:00
|
|
|
source "${ZCOMET_DIR}/prompt/powerlevel10k/powerlevel10k.zsh-theme"
|
2020-11-16 08:06:26 +00:00
|
|
|
else
|
2021-12-06 21:48:22 +00:00
|
|
|
zcomet load agkozak/agkozak-zsh-prompt
|
2020-11-16 08:06:26 +00:00
|
|
|
fi
|