diff --git a/.config/zsh/config/themes/init.zsh b/.config/zsh/config/themes/init.zsh index 5357180..1e91229 100644 --- a/.config/zsh/config/themes/init.zsh +++ b/.config/zsh/config/themes/init.zsh @@ -10,12 +10,16 @@ # omz. configure() { + 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 local wkdir="${BASE_ZSH_CONFIG_DIR}/config/themes" source "${wkdir}/config.zsh" } init() { local wkdir="${BASE_ZSH_CONFIG_DIR}/config/themes" + configure source "${wkdir}/powerlevel10k/powerlevel10k.zsh-theme" }