Exa aliases plugin for zsh.
This plugin defines useful aliases that can be used for exa
the moden alternative of ls
.
This plugin is written with MacOS in mind. but it should work on any unix based OS.
- First, Install exa
brew install exa
- Clone this repository into zsh plugins folder
cd ~/.oh-my-zsh/custom/plugins git clone https://github.com/MohamedElashri/exa-zsh
or
cd $ZSH_CUSTOM/plugins/
git clone https://github.com/MohamedElashri/exa-zsh
-
Add the plugin to
/.zshrc
You should add
exa-zsh
to the plugin listplugins=(... exa-zsh)
-
Restart the terminal session
This project contain some useful aliasses that you can run in your terminal that zsh supported like ITerm2
.
You can type in the alias in your terminal. This is a list of available aliasses.
Alias | Command | Help |
---|---|---|
ls | exa | just replace ls by exa and allow all other exa arguments |
l | ls -lbF | list, size, type |
ll | ls -la | long, all |
llm | ll --sort=modified | list, long, sort by modification date |
la | ls -lbhHigUmuSa | all list |
lx | ls -lbhHigUmuSa@ | all list and extended |
tree | exa --tree | tree view |
lS | exa -1 | one column by just names |
Contributions are always welcome!
Pull requests are welcome. I will try to they are compatible.
Please make sure to update tests as appropriate.