This commit is contained in:
mwiegand 2026-04-19 16:19:30 +02:00
parent fcc5ffe660
commit b51c780f48
No known key found for this signature in database

4
.zshrc
View file

@ -9,7 +9,7 @@ precmd() {
prompt_git_branch=$(git symbolic-ref --quiet --short HEAD 2>/dev/null)
if [[ -n $prompt_git_branch ]]; then
PROMPT_GIT_SEGMENT=$'%{\e[2m%} ('"${prompt_git_branch}"$')%{\e[22m%}'
PROMPT_GIT_SEGMENT=$'%{\e[2m%}('"${prompt_git_branch}"$')%{\e[22m%}'
else
PROMPT_GIT_SEGMENT=''
fi
@ -21,7 +21,7 @@ precmd() {
fi
}
PROMPT='%B%1~%b${PROMPT_GIT_SEGMENT} ${PROMPT_ARROW_COLOR}%B%b%f '
PROMPT='%B%1~%b${PROMPT_GIT_SEGMENT}${PROMPT_ARROW_COLOR}%B%b%f '
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh