commit 8217a8755ca8a3c7f01d76f31041e123ebaa9951 parent f65acd8396603088a9339d0e41969c6209055e1f Author: Alex Balgavy <a.balgavy@gmail.com> Date: Mon, 11 Nov 2019 01:41:25 -0500 oh-my-zsh updates powerlevel10k gets instant prompt, and update oh-my-zsh. Former-commit-id: 4a4c7419018b2774e506d0c06209238f9c4978e4 Diffstat:
M | shell/zshrc | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/shell/zshrc b/shell/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 + export ZSH="$HOME/.dotfiles/oh-my-zsh" ZSH_THEME="powerlevel10k/powerlevel10k"