https://github.com/jollysleeper/zap-eza
Replace Common File Lising Commands With `eza`
https://github.com/jollysleeper/zap-eza
zap zap-plugin zsh zshrc
Last synced: about 1 month ago
JSON representation
Replace Common File Lising Commands With `eza`
- Host: GitHub
- URL: https://github.com/jollysleeper/zap-eza
- Owner: jollySleeper
- License: gpl-3.0
- Created: 2023-10-30T04:45:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T05:03:23.000Z (over 2 years ago)
- Last Synced: 2025-03-28T18:51:33.159Z (about 1 year ago)
- Topics: zap, zap-plugin, zsh, zshrc
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zap-Eza
Override `ls` and `tree` commands to use [eza](https://github.com/eza-community/eza) instead
> Note: This is fork of [zap-zsh/exa](https://github.com/zap-zsh/exa) with some minor changes.
## Install
Using the [:zap: Zap](https://www.zapzsh.org/) minimal zsh plugin manager, add the following to your `.zshrc`
```sh
# Install plugin
plug "jollySleeper/zap-exa"
```
## ⚠️ Special Attention
As mentioned in [this issue](https://github.com/zap-zsh/exa/issues/3), if you are using [zap-zsh/supercharge](https://github.com/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:
```sh
# ...
plug "zap-zsh/supercharge"
plug "jollySleeper/zap-exa"
# ...
```
## Usage
### ls
Overpowered `ls` command, will output directories before files and add icons and colors

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

### la
Same as `ll` but shows even hidden files and dirs

### 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 `
