From 9c2f3d0d38502ff7e43f144279411a7c7920ad72 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 23 Jan 2018 02:56:17 +0000 Subject: [PATCH] etc/profile.d/nb.sh --- etc/profile.d/nb.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/profile.d/nb.sh b/etc/profile.d/nb.sh index 77adf823..4ea3c97d 100644 --- a/etc/profile.d/nb.sh +++ b/etc/profile.d/nb.sh @@ -33,8 +33,11 @@ nb_repos_status() { status=$(git status --short "$i"|sed 's/^/ /') [ -n "$status" ] && status=$'\n'"$status" && ret=1 - printf "%s %s\n" "$i" "$status" + + #status=$(git status --short "$i"|sed "s,^,$i$(printf '\t'),") + #[ -n "$status" ] && ret=1 && echo "$status" + done cd "$pwd" return $ret -- 2.47.3