diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-11-01 22:47:04 +0100 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-11-01 22:47:04 +0100 | 
| commit | 5265e4a51c9b76537f6c7766e5edbb1f20e56da4 (patch) | |
| tree | 0f19d06565e978d6833ef0e73b4df89f2dbc1b6b | |
| parent | e00713823b3dbd52f7ea15b5d7f7371d78142e16 (diff) | |
put status in braces
| -rwxr-xr-x | bin/extra/supd | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/extra/supd b/bin/extra/supd index dba4910..2e1f968 100755 --- a/bin/extra/supd +++ b/bin/extra/supd @@ -30,8 +30,8 @@ do          return      fi      # Show remote state -    printf '%s %s\n' "$(git status --short 2> /dev/null | -        awk 'NR==1 {print $1}')" "$(git branch -v 2>/dev/null | +    printf ' %s %s\n' "$(git status --short 2> /dev/null | +        awk 'NR==1 {print "(" $1 ")"}')" "$(git branch -v 2>/dev/null |          awk -F '[][]' '/^\*/ {print $2}' |          sed 's/ahead/↑ /;s/behind/↓ /;s/[^↓↑]*/ /g')"  	)  | 
