Home

Awesome

Auto-ls

There are many auto-lss out there but this one is mine.

Features

Install

Configuration

Example: AUTO_LS_COMMANDS=(ls git-status)

Example: AUTO_LS_NEWLINE=false

Example: AUTO_LS_PATH=false

Example: AUTO_LS_CHPWD=false

Customization

You can configure commands in order to execute on cwd/ls, example:


AUTO_LS_COMMANDS=(ls git-status '/usr/bin/git log')
# Or...
AUTO_LS_COMMANDS=(ls git-status '[[ -d $PWD/.git ]] && /usr/bin/git log|head')

You may redefine default functions or define custom functions to be run on cwd/enter-key:

You may as well load the default functions, ls and git-status:

 AUTO_LS_COMMANDS=(ls git-status custom_function)

Future