https://github.com/zap-zsh/exa
Override common commands to use exa instead
https://github.com/zap-zsh/exa
Last synced: 4 months ago
JSON representation
Override common commands to use exa instead
- Host: GitHub
- URL: https://github.com/zap-zsh/exa
- Owner: zap-zsh
- License: gpl-3.0
- Created: 2022-11-11T00:48:50.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-10T22:40:28.000Z (about 2 years ago)
- Last Synced: 2024-04-14T01:11:44.257Z (over 1 year ago)
- Language: Shell
- Size: 25.4 KB
- Stars: 17
- Watchers: 0
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - exa (zap-zsh) - Overrides common commands to use exa instead. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - exa (zap-zsh) - Overrides common commands to use exa instead. (Plugins / ZSH on Windows)
README
# eza
Override `ls` and `tree` commands to use [eza](https://github.com/eza-community/eza) instead
## Install
Using the [:zap: Zap](https://www.zapzsh.org/) minimal zsh plugin manager, add the following to your `.zshrc`
```sh
# Install plugin
plug "zap-zsh/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 "zap-zsh/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 `
