Home

Awesome

Exa-zsh Plugin

Exa aliases plugin for zsh.

This plugin defines useful aliases that can be used for exa the moden alternative of ls.

Installation

This plugin is written with MacOS in mind. but it should work on any unix based OS.

  1. First, Install exa
brew install exa
  1. 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
  1. Add the plugin to /.zshrc

    You should add exa-zsh to the plugin list

    plugins=(... exa-zsh)

  2. Restart the terminal session

Usage/Examples

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.

AliasCommandHelp
lsexajust replace ls by exa and allow all other exa arguments
lls -lbFlist, size, type
llls -lalong, all
llmll --sort=modifiedlist, long, sort by modification date
lals -lbhHigUmuSaall list
lxls -lbhHigUmuSa@all list and extended
treeexa --treetree view
lSexa -1one column by just names

Contributing

Contributions are always welcome!

Pull requests are welcome. I will try to they are compatible.

Please make sure to update tests as appropriate.

Authors

License

MIT