From 19cc17f60df5f754ab2a12f544a64ef4ddcc731e Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Thu, 16 Sep 2021 02:59:51 -0400 Subject: switch to powerlevel10k --- shells/.zshrc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'shells/.zshrc') 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 -- cgit v1.2.3