From 94fb437570bbd4a2066aad887ef1576d72080aa3 Mon Sep 17 00:00:00 2001 From: Andrejus Date: Tue, 23 Dec 2025 13:15:01 +0200 Subject: [PATCH] fix: git spacing --- files/home/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/home/.zshrc b/files/home/.zshrc index cda50d0..fabc610 100644 --- a/files/home/.zshrc +++ b/files/home/.zshrc @@ -152,13 +152,13 @@ _dots_git_info_sync() { local dirty="" (( staged )) && dirty+="${_dots_pc[teal]}+${staged}${_dots_pc[reset]}" - (( unstaged )) && dirty+="${_dots_pc[orange]}~${unstaged}${_dots_pc[reset]}" - (( untracked )) && dirty+="${_dots_pc[grey]}?${untracked}${_dots_pc[reset]}" + (( unstaged )) && dirty+=" ${_dots_pc[orange]}~${unstaged}${_dots_pc[reset]}" + (( untracked )) && dirty+=" ${_dots_pc[grey]}?${untracked}${_dots_pc[reset]}" [[ -n "$dirty" ]] && info+=" ${dirty}" local arrows="" (( ahead )) && arrows+="${_dots_pc[teal]}↑${ahead}${_dots_pc[reset]}" - (( behind )) && arrows+="${_dots_pc[orange]}↓${behind}${_dots_pc[reset]}" + (( behind )) && arrows+=" ${_dots_pc[orange]}↓${behind}${_dots_pc[reset]}" [[ -n "$arrows" ]] && info+=" ${arrows}" print -r -- "$info"