Skip to content

dangh/auto-ls.fish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fish-auto-ls

Auto list directory content whenever working directory changed

Installation

fisher install dangh/auto-ls.fish

Options

By default it will run ls -GF whenever you change the working directory. You can change the command with variable auto_ls_command.

For example, to show hidden files/directories by default:

set -U auto_ls_command 'ls -AGF'

By default it will only run ls if there are less than 30 files in the directory. This behaviour is to prevent ls hanging when cd to a directory with a very large number of files.

To change the limit number, set the variable as:

set -U auto_ls_limit 100

About

auto list directory content

Resources

License

Stars

Watchers

Forks

Languages