agnoster-theme-baz-plugin/plugin/functions/git_status_dirty
Ari Archer ef9160c4a6
init
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-06-18 23:04:43 +03:00

2 lines
79 B
Bash

dirty=$(git status -s 2> /dev/null | tail -n 1)
[[ -n $dirty ]] && echo " ●"