Added check for 'no repo' and cleared the output if true.
1 files changed, 5 insertions(+), 1 deletions(-) M scripts/scm-prompt.sh
M scripts/scm-prompt.sh +5 -1
@@ 159,6 159,10 @@ fi fi if [ -n "$br" ]; then - printf "$fmt" "$br" + if [ "$br" = "0000000" ]; then + printf "" + else + printf "$fmt" "$br" + fi fi }