Override ls
and tree
commands to use eza instead
Using the ⚡ Zap minimal zsh plugin manager, add the following to your .zshrc
# Install plugin
plug "zap-zsh/exa"
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 "zap-zsh/exa"
# ...
Overpowered ls
command, will output directories before files and add icons and colors
Same as ls
but long lists line by line with details and git integration (if git repo is detected)
Same as ll
but shows even hidden files and dirs
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.
It will recurse on every directory producing, in some situations, very long output. You can limit the recursion with -L <N>