diff --git a/status.sh b/status.sh index 2b33e74..f301f41 100755 --- a/status.sh +++ b/status.sh @@ -13,7 +13,7 @@ _git_info() { # src https://stackoverflow.com/questions/6245570/how-do-i-get-the-current-branch-name-in-git/6245587#6245587 branch_info="$(git branch --show-current)" # src https://ma.ttias.be/pretty-git-log-in-one-line/ - commit_info="$(git log --pretty=format:'%H [%ci] %h %an: %s' -n 1)" + commit_info="$(git log --pretty=format:'[%ci] %h %an: %s' -n 1)" cd - >/dev/null d_name="$(basename "${d}")" }