diff options
Diffstat (limited to 'shells/.zshrc')
| -rw-r--r-- | shells/.zshrc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/shells/.zshrc b/shells/.zshrc index 6d93adf..c1bc735 100644 --- a/shells/.zshrc +++ b/shells/.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 + # # g3tchoo's zshrc # @@ -32,4 +39,7 @@ alias la='ls -a' alias g='git' source $HOME/.local/share/zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh -eval "$(starship init zsh)" +source $HOME/.local/share/zsh/powerlevel10k/powerlevel10k.zsh-theme + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh |
