Skip to content

zsh plugin to automatically list directories with colorls

Notifications You must be signed in to change notification settings

vqcuong/auto-ls

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

auto-ls

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.

Installation

  • 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`

Environment

  • 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

About

zsh plugin to automatically list directories with colorls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%