Use printf instead of echo to display

master
Dan Nguyen 10 years ago
parent ff7aa3aa7a
commit 545cdce399
  1. 11
      gitstatus.sh

@ -88,8 +88,13 @@ if [[ -z "$remote" ]] ; then
remote='.' remote='.'
fi fi
for w in "$branch" "$remote" $num_staged $num_conflicts $num_changed $num_untracked $num_stashed $clean ; do printf "%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n" \
echo "$w" "$branch" \
done "$remote" \
$num_staged \
$num_conflicts \
$num_changed \
$num_untracked \
$num_stashed $clean
exit exit

Loading…
Cancel
Save