ohmyzsh/plugins/eza
Pandu E POLUAN ab33b5d274
BUGFIX: Hanging dash if neither HEAD nor $2 are set
HEAD and $2 are now pre-combined, then a "substitute if set or not-null" done to add the prefixing hyphen.
2024-02-28 10:27:42 +07:00
..
eza.plugin.zsh BUGFIX: Hanging dash if neither HEAD nor $2 are set 2024-02-28 10:27:42 +07:00
README.md Add note on when to config 2024-02-24 11:45:16 +07:00

eza plugin

This provides aliases that invoke the eza utility rather than ls

To use it add eza to the plugins array in your zshrc file:

plugins=(... eza)

Configuration

All configurations are done using the zstyle command in the :omz:plugins:eza namespace.

NOTE: The configuring needs to be done prior to OMZ loading the plugins. When the plugin is loaded, changing the zstyle won't have any effect.

dirs-first

zstyle ':omz:plugins:eza' 'dirs-first' $BOOL

If 1, directories will be grouped first.

Default: 0

showgroup

zstyle ':omz:plugins:eza' 'showgroup' $BOOL

If 1 (default), always add -g flag to show the group ownership.

Default: 1

time-style

zstyle ':omz:plugins:eza' 'time-style' $TIME_STYLE

Sets the --time-style option of eza. (See man eza for the options)

Default: Not set, which means the default behavior of eza will take place.

Aliases

Note that aliases may be modified by Configuration.

Alias Command Description
la eza -la List all files (except . and ..) as a long list
ldot eza -ld .* List all dotfiles (directories shown as entries instead of recursed into)
ll eza -l List files as a long list
ls eza Plain eza call
lS eza -l -ssize List files as a long list, sorted by size
lT eza -l -snewest List files as a long list, sorted by date (newest last)