summaryrefslogtreecommitdiff
path: root/.config/zsh/early/powerlevel10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/early/powerlevel10k.zsh')
-rw-r--r--.config/zsh/early/powerlevel10k.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/zsh/early/powerlevel10k.zsh b/.config/zsh/early/powerlevel10k.zsh
new file mode 100644
index 0000000..c96d2b0
--- /dev/null
+++ b/.config/zsh/early/powerlevel10k.zsh
@@ -0,0 +1,6 @@
+# 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