Home

Awesome

zsh-eza

A zsh aliases plugin for eza, a replacement for exa.

Differences between zsh-eza and zsh-exa

Both of the plugins are mostly the same except the removal of setting a default TIME-STYLE, eventual decapitation of using command-line options in favor of a configuration file, and renaming of aliases.

Renamed Aliases

There are conflicted and poorly named aliases in the old zsh-exa plugin, this plugin renames them.

Old AliasesNew Aliases
l.lh
lSlc

Usage

To use it, install eza.

Then clone this repository into the custom plugins directory as eza of your zsh plugin manager which is $ZSH_CUSTOM, the following is for Oh My Zsh which is ~/.oh-my-zsh/custom/plugins.

git clone https://github.com/wushenrong/zsh-eza.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/eza

Finally, add eza to the plugins array of your zshrc file:

plugins=(... eza)

Configuration Options

Environment VariablesDescription
TIME-STYLESet the time format used for long view. No longer defaults to iso-long and decapitated.
EZA_EXA_LEGACYUse the exa command line aliases instead of the config file for eza.
EZA_ENABLE_SORT_ALIASESEnable aliases for filtering options based on which field to sort by.
EZA_ENABLE_EXTENDED_ALIASESEnable aliases for all files, links and extended attributes.

License

This plugin is licensed under the MIT License using SPDX.