Awesome
eza
Override ls
and tree
commands to use eza instead
Install
Using the :zap: Zap minimal zsh plugin manager, add the following to your .zshrc
# Install plugin
plug "zap-zsh/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).<BR><BR>
Simply put it after supercharge declaration in your .zshrc
like this:
# ...
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.<BR>
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>