From 36ad546f9c722e97988ae5ccedaf288a9e1fbaf1 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 24 May 2026 23:36:18 +0200 Subject: [PATCH] change p10k prompt --- .zshrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.zshrc b/.zshrc index 3e562f2..84d2ec1 100644 --- a/.zshrc +++ b/.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 + # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH export PATH="$HOME/.local/bin:$PATH" @@ -125,3 +132,9 @@ source ~/.config/zsh/aliases eval "$(zoxide init --cmd cd zsh)" eval "$(/home/thomas/.local/bin/mise activate zsh --shims)" + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + +# To customize prompt, run `p10k configure` or edit ~/dotfiles/.p10k.zsh. +[[ ! -f ~/dotfiles/.p10k.zsh ]] || source ~/dotfiles/.p10k.zsh