summaryrefslogtreecommitdiff
path: root/.config/zsh/early/powerlevel10k.zsh
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2024-11-05 07:42:55 +0900
committerA Farzat <a@farzat.xyz>2024-11-13 07:42:55 +0900
commitcb5affa0e11c200f175e26ced4f2866aa916d2c9 (patch)
tree157d2d413b3e1090fecb9aeb06cd51b49040a2c9 /.config/zsh/early/powerlevel10k.zsh
parent6afb1f1eec5a8254635773f952fb6494f35a1933 (diff)
downloaddotfiles-cb5affa0e11c200f175e26ced4f2866aa916d2c9.tar.gz
dotfiles-cb5affa0e11c200f175e26ced4f2866aa916d2c9.zip
Remove zsh submodule
Zsh config will be included as bare files instead of a submodule. The zsh config repo will still exist, but the content will be used by yadm without the repo itself.
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