fix eza in zshrc and aliases

This commit is contained in:
2025-09-08 21:12:51 +02:00
parent 017722fdb7
commit 0370d09946
2 changed files with 3 additions and 4 deletions

5
.zshrc
View File

@@ -51,14 +51,11 @@ typeset -A ZI
ZI[BIN_DIR]="${HOME}/.zi/bin"
source "${ZI[BIN_DIR]}/zi.zsh"
#zi ice has'eza' atinit'AUTOCD=1'
#zi light z-shell/zsh-eza
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(colored-man-pages git docker sublime sudo zsh-eza git-prompt)
plugins=(colored-man-pages git docker sublime sudo git-prompt)
# ansible brew colorize common-aliases direnv dnf fig tmux zsh-navigation-tools zsh-syntax-highliting
# User configuration

View File

@@ -40,6 +40,8 @@ if [ -f /opt/homebrew/bin/eza ]; then
alias lx='eza -lbhHigUmuSa@'
alias lt='eza --tree $eza_params'
alias tree='eza --tree $eza_params'
alias lsize='eza --long --total-size --sort=size $eza_params'
else
alias la='ls -laF ${colorflag}'
alias ls='ls -Fh ${colorflagI}'