diff options
Diffstat (limited to 'hm/zsh/config/instant-prompt.zsh')
-rw-r--r-- | hm/zsh/config/instant-prompt.zsh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hm/zsh/config/instant-prompt.zsh b/hm/zsh/config/instant-prompt.zsh new file mode 100644 index 0000000..fe6cadb --- /dev/null +++ b/hm/zsh/config/instant-prompt.zsh @@ -0,0 +1,9 @@ +# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.config/zsh/.zshrc. +# Initialization code that may require console input (password prompts, [y/n] +# 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 + source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" +fi + +# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh. +[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh |