mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-17 06:16:45 +08:00
feat(eza): add icons option (#12469)
Co-authored-by: Computer <computer@MAI.local>
This commit is contained in:
1 parent
695c7456d1
commit
228d44d55d
2 files changed
+13
No files matched your search
@@ -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'")
|
||||
|
||||
Reference in new issue
Block a user