From: Nicolas Boisselier Date: Tue, 17 Sep 2024 18:08:50 +0000 (+0100) Subject: etc/profile.d/nb.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=5514e190054ce66d26cbc3e513d4e3afe961caf7;p=nb.git etc/profile.d/nb.sh --- diff --git a/etc/profile.d/nb.sh b/etc/profile.d/nb.sh index ab814950..4375300d 100644 --- a/etc/profile.d/nb.sh +++ b/etc/profile.d/nb.sh @@ -46,7 +46,7 @@ nb_repos_status() { git checkout --quiet "$branch" 2>/dev/null || continue status=$(git status --short | grep -v '^#'|sed 's/^/ /') || continue [ -n "$status" ] && status=$'\n'"$status" && ret=1 - printf "%s %s\n" "$repo [$branch]" "$status" + printf "%s %s\n" "$repo [$branch] ($u)" "$status" done