Skip to content

A zsh aliases plugin for eza, a replacement for exa

License

Notifications You must be signed in to change notification settings

TwoPizza9621536/zsh-eza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 Aliases New Aliases
l. lh
lS lc

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/TwoPizza9621536/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 Variables Description
TIME-STYLE Set the time format used for long view. No longer defaults to iso-long and decapitated.
EZA_EXA_LEGACY Use the exa command line aliases instead of the config file for eza.
EZA_ENABLE_SORT_ALIASES Enable aliases for filtering options based on which field to sort by.
EZA_ENABLE_EXTENDED_ALIASES Enable aliases for all files, links and extended attributes.

License

This plugin is licensed under the MIT License using SPDX.

About

A zsh aliases plugin for eza, a replacement for exa

Topics

Resources

License

Stars

Watchers

Forks

Languages