1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-10 01:10:41 +01:00

feat(eza): add icons option (#12469)

Co-authored-by: Computer <computer@MAI.local>
This commit is contained in:
EraPartner
2024-06-04 13:54:42 +00:00
committed by GitHub
parent 695c7456d1
commit 228d44d55d
2 changed files with 13 additions and 0 deletions

View File

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