summaryrefslogtreecommitdiff
path: root/shells/.zshrc
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2021-09-16 02:59:51 -0400
committerSeth Flynn <[email protected]>2021-09-16 03:03:08 -0400
commit19cc17f60df5f754ab2a12f544a64ef4ddcc731e (patch)
tree545a4b8881330a787e969a8b0e25e319a4534ee5 /shells/.zshrc
parent12021e66863261359954b20472893540870c7073 (diff)
switch to powerlevel10k
Diffstat (limited to 'shells/.zshrc')
-rw-r--r--shells/.zshrc12
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