diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index edd5098..0950582 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,3 +1,10 @@ +# 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 + #!/bin/zsh DEFAULT_USER=marc #für den Promot wird der user ausgeblendet, wenn default erkannt ist @@ -93,3 +100,7 @@ source $PLUGINS/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # -------------------------------------- source $ZDOTDIR/themes/agnoster.zsh-theme +#source $ZDOTDIR/themes/powerlevel10k/powerlevel10k.zsh-theme + +# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh. +#[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh