a zsh plugin which replaces GNU/ls with eza-community/eza
Variable | Description | Default |
---|---|---|
_EZA_PARAMS | eza params to be used | ('--git' '--group' '--group-directories-first' '--time-style=long-iso' '--color-scale=all' '--icons') |
AUTOCD | enable auto list directories on cd |
0 |
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 lx='eza -lbhHigUmuSa@'
alias lt='eza --tree $eza_params'
alias tree='eza --tree $eza_params'
eza
should be present to use this plugin. Install eza
with Cargo:
cargo install eza
or your package manager of choice.
With Zi
Add the following to your ~/.zshrc
zi light givensuman/zsh-eza
With Oh My Zsh
Clone the repository
git clone https://github.com/givensuman/zsh-eza \
${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-eza
and add zsh-eza
to the plugins array of your ~/.zshrc
plugins=(
...
zsh-eza
)
Add the following to your ~/.zshrc
zplug givensuman/zsh-eza