From 924ec30e7075ea7a9dbac569a537d876f9146850 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Thu, 4 Apr 2024 17:06:23 +0200 Subject: refactor: move users/sils dir to hm --- hm/zsh/config/instant-prompt.zsh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hm/zsh/config/instant-prompt.zsh (limited to 'hm/zsh/config/instant-prompt.zsh') diff --git a/hm/zsh/config/instant-prompt.zsh b/hm/zsh/config/instant-prompt.zsh new file mode 100644 index 0000000..fe6cadb --- /dev/null +++ b/hm/zsh/config/instant-prompt.zsh @@ -0,0 +1,9 @@ +# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.config/zsh/.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 + +# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh. +[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh -- cgit 1.4.1