|
|
@ -1572,7 +1572,7 @@ function change_zshrc() {
|
|
|
|
if (( !zshrc_has_instant_prompt )); then
|
|
|
|
if (( !zshrc_has_instant_prompt )); then
|
|
|
|
>>$tmp print -r -- "# Enable Powerlevel10k instant prompt. Should stay close to the top of ${(%)__p9k_zshrc_u}.
|
|
|
|
>>$tmp print -r -- "# Enable Powerlevel10k instant prompt. Should stay close to the top of ${(%)__p9k_zshrc_u}.
|
|
|
|
# Initialization code that may require console input (password prompts, [y/n]
|
|
|
|
# Initialization code that may require console input (password prompts, [y/n]
|
|
|
|
# confirmations, etc.) must go above this block, everything else must go below.
|
|
|
|
# confirmations, etc.) must go above this block, everything else may go below.
|
|
|
|
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" || return
|
|
|
|
fi" || return
|
|
|
|