1
0
Fork 0

Format git dirty even if there is no dirty files

Fixes a part of #131
pull/133/head
Colin Hebert 13 years ago
parent 000b3653e6
commit fa05cad1b1

@ -376,10 +376,8 @@ function git-info {
fi fi
# Format dirty. # Format dirty.
if (( $dirty > 0 )); then
zstyle -s ':omz:module:git' dirty 'dirty_format' zstyle -s ':omz:module:git' dirty 'dirty_format'
zformat -f dirty_formatted "$dirty_format" "D:$dirty" zformat -f dirty_formatted "$dirty_format" "D:$dirty"
fi
# Format info. # Format info.
zstyle -a ':omz:module:git' info 'info_formats' zstyle -a ':omz:module:git' info 'info_formats'

Loading…
Cancel
Save