|
|
@ -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'
|
|
|
|