Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 666 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 666 Bytes

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