Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exa ignores files beginning with underscore (_) #1131

Closed
garyo opened this issue Oct 7, 2022 · 3 comments
Closed

exa ignores files beginning with underscore (_) #1131

garyo opened this issue Oct 7, 2022 · 3 comments

Comments

@garyo
Copy link

garyo commented Oct 7, 2022

I have exa v0.10.1 for Windows, without git.
exa -T seems to ignore all filenames beginning with underscore, unless I add -a.
Same result when run from cmd.exe or an msys shell.

Underscore files are not typically "hidden" so I'm not sure what's going on. Feature or bug?

@eggbean
Copy link

eggbean commented Oct 7, 2022

Dotfiles for vim which are called .vimrc, .gvimrc and .viminfo on Linux are called _vimrc _gvimrc and _viminfo on Windows. I suppose other programs may do this as well, but even if they didn't vim is so popular it could have been just for that. I think it was deliberate.

And there is no exa for Windows, as far as I know? How did you run it from cmd.exe?

@garyo
Copy link
Author

garyo commented Oct 7, 2022

I believe I'm running the build from #820 (comment)

As for ignoring '_' files, that's too bad. I use exa as my ls replacement, and it mystified me where my python __init__.py files had gone to! Maybe it could just ignore files starting with only one _?

@garyo
Copy link
Author

garyo commented Oct 7, 2022

I'll close this now -- I've added a comment to the place in #820 where it ignores '_' files. Sorry for the noise.

@garyo garyo closed this as completed Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants