exa icon indicating copy to clipboard operation
exa copied to clipboard

Add `--git=auto` feature

Open ariasuni opened this issue 2 years ago • 2 comments

It would be cool to have an option to only enable --git when a git repository is detected. Not sure how practical it is to implement, though.

ariasuni avatar Mar 17 '22 20:03 ariasuni

Isn't this the default when using --git? When I run exa -l --git on a non-git directory, it works like a charm and it doesn't print any Git information (no error, status code is 0 so all is fine).

sambonbonne avatar Jul 12 '22 09:07 sambonbonne

How about --icons=(auto|always|never)? Like --git=(auto|always|never).

Freed-Wu avatar Jul 31 '22 07:07 Freed-Wu

Git is only enabled when a Git repository is found, so this is already implemented.

ariasuni avatar Sep 28 '23 18:09 ariasuni