diff --git a/zsh/.zshrc b/zsh/.zshrc index 3adfb1a..a874a4e 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,3 +1,10 @@ +# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.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 + zstyle :omz:plugins:ssh-agent agent-forwarding on # export SSH_KEY_PATH="~/.ssh/rsa_id" @@ -98,3 +105,5 @@ for file in ~/.zshrc.d/*; do source "$file" done +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh