add zsh-eza

This commit is contained in:
2025-03-24 17:15:07 +01:00
parent ad4ed72e3d
commit 5e964c3cd2
2 changed files with 16 additions and 3 deletions

5
.zshrc
View File

@@ -49,7 +49,9 @@ COMPLETION_WAITING_DOTS="true"
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=(colored-man-pages git docker sublime sudo) plugins=(colored-man-pages git docker sublime sudo zsh-eza)
# ansible brew colorize common-aliases direnv dnf fig tmux zsh-navigation-tools zsh-syntax-highliting
# User configuration # User configuration
source .api-keys source .api-keys
@@ -58,6 +60,7 @@ export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/opt/home
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# make less more friendly for non-text input files, see lesspipe(1) # make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)" [ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"

14
aliases
View File

@@ -28,8 +28,18 @@ else # OS X `ls`
colorflag="-G" colorflag="-G"
fi fi
alias la='ls -laF ${colorflag}' #alias la='ls -laF ${colorflag}'
alias ls='ls -Fh ${colorflag}' #alias ls='ls -Fh ${colorflagI}'
alias ls='eza $eza_params'
alias l='eza --git-ignore $eza_params'
alias ll='eza --all --header --long $eza_params'
alias llm='eza --all --header --long --sort=modified $eza_params'
#alias la='eza -lbhHigUmuSa'
alias la='eza -lbhHgma'
alias lx='eza -lbhHigUmuSa@'
alias lt='eza --tree $eza_params'
alias tree='eza --tree $eza_params'
alias tmux='tmux -2' alias tmux='tmux -2'
alias view='vim -p -R' alias view='vim -p -R'