Closed jantari closed 2 years ago
yesterday I opened an issue #85
I have the same problem as you have, I think an -I
option like normal tree -I <directory or file>
for excluding directory or file would be useful
something like tre -a -I ".git|.venv"
@dduan Would it be possible to take a look at this? I still use tre
all the time but this really makes it a worse experience. I feel like untracked files should definitely be shown by default. Thanks!
Using
tre
version0.3.6 (msvc)
onWindows 10 Build 10.0.21364.1000
.I get the following behavior:
As you can see,
tre
does not show my newly created fileTest-LSUPackageFiles.ps1
. Presumably because it is untracked by git, but this is very irritating because newly created untracked files tend to be the ones I am currently working on :)I know I can use
-a
to show all files, but that spams my terminal with all the unwanted content from the.git
directory. I also personally like that the.gitignore
file is respected, but in this case such a file does not exist and the only thing special or different about this file is that it is untracked by git.