zsh plugin to automatically ls by firstly trying to use exa or colorls commands on cd
. If both of them are not found, the default ls
command would be used.
- colorls
gem install colorls
- exa
brew install exa
- Plugin
### antigen
antigen bundle gretzky/auto-ls
### zplugin
zplugin load gretzky/auto-ls
### zgen
zgen load gretzky/auto-ls
### ohmyzsh
git clone https://github.com/vqcuong/auto-ls $ZSH_CUSTOM/plugins/auto-ls
# Finally, add `auto-ls` to `plugins=()` in your `.zshrc`
- By default, the plugin will not list hidden files and folders. To expose all objects, you must set this enviroment variable to your .zshrc file
echo 'export ZSH_AUTO_LS_LIST_ALL=true' >> ~/.zshrc