jollySleeper / Zap-Eza

Replace Common File Lising Commands With `eza`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zap-Eza

Override ls and tree commands to use eza instead

Note: This is fork of zap-zsh/exa with some minor changes.

Install

Using the ⚡ Zap minimal zsh plugin manager, add the following to your .zshrc

# Install plugin
plug "jollySleeper/zap-exa"

⚠️ Special Attention

As mentioned in this issue, if you are using zap-zsh/supercharge you need to load this plugin after superchage, otherwise this plugin won't work because supercharge define the same ls alias (usefull to colorize ls output for who is not using eza).

Simply put it after supercharge declaration in your .zshrc like this:

# ...

plug "zap-zsh/supercharge"
plug "jollySleeper/zap-exa"

# ...

Usage

ls

Overpowered ls command, will output directories before files and add icons and colors

image

ll

Same as ls but long lists line by line with details and git integration (if git repo is detected)

image

la

Same as ll but shows even hidden files and dirs

image

tree

Same as the regular UNIX tree command but made with eza, so using all the extra stuffs eza provides.
Hidden files/folders are excluded, if you want to include them simply add -a flag.

⚠️ NOTE:

It will recurse on every directory producing, in some situations, very long output. You can limit the recursion with -L <N>

image

About

Replace Common File Lising Commands With `eza`

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%