Add git-status config knob

This commit is contained in:
Pandu POLUAN 2024-02-28 11:42:52 +07:00
commit b22a1b69dd
2 changed files with 14 additions and 0 deletions

View file

@ -31,6 +31,9 @@ function _configure_eza() {
if zstyle -t ':omz:plugins:eza' 'dirs-first'; then
_EZA_TAIL+=("--group-directories-first")
fi
if zstyle -t ':omz:plugins:eza' 'git-status'; then
_EZA_TAIL+=("--git")
fi
zstyle -s ':omz:plugins:eza' 'time-style' _val
if [[ $_val ]]; then
_EZA_TAIL+=("--time-style='$_val'")