Skip to content
/ zsh-exa Public
forked from z-shell/zsh-eza

⚙️ Zsh plugin to replace command gnu/ls with ogham/exa

License

Notifications You must be signed in to change notification settings

joshka/zsh-exa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Default settings

Sets paramters and aliases for eza to replace ls, enable auto list directories on cd with export AUTOCD=1.

Parameters

eza_params=('--git' '--icons' '--classify' '--group-directories-first' '--time-style=long-iso' '--group' '--color-scale')

Aliases

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'

Install

The eza should be present to use this plugin. Install eza with Zi:

zi ice from'gh-r' as'program' sbin'**/eza -> eza' atclone'cp -vf completions/eza.zsh _eza'
zi light eza-community/eza

With Zi

To install add to the .zshrc file:

zi light zplugin/zsh-eza

Install only if eza exists and enable auto list directories:

zi ice has'eza' atinit'AUTOCD=1'
zi light zplugin/zsh-eza

Install only if eza exists and enable auto list directories in turbo mode:

zi ice wait lucid has'eza' atinit'AUTOCD=1'
zi light zplugin/zsh-eza

Install only if eza exists and enable auto list directories in turbo mode with the for syntax:

zi wait lucid for \
  has'eza' atinit'AUTOCD=1' \
    zplugin/zsh-eza

Clone the repository and add zsh-eza to the plugins array of your zshrc file:

~/.oh-my-zsh/custom/plugins
plugins=(... zsh-eza)

With Zplug

Add zplug zplugin/zsh-eza to your ~/.zshrc and re-open your terminal session.

About

⚙️ Zsh plugin to replace command gnu/ls with ogham/exa

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%