From: Nicolas Boisselier Date: Tue, 23 Jan 2018 02:56:17 +0000 (+0000) Subject: etc/profile.d/nb.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=9c2f3d0d38502ff7e43f144279411a7c7920ad72;p=nb.git etc/profile.d/nb.sh --- 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