You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python developers will know that 'dunder' files are common in python projects (__init__.py, __main__.py, _private_module.py, etc).
On Windows, eza consideres files starting with a underscore (_) as a hidden 'dotfile', and does not list them by default.
Technically, this is not actually a bug, as I have seen the code and PR's that added this feature.
But I think we would all agree this is undesired behavior and a common occurance for lots of (python) developers?
Seemingly 'missing' files beginning with _ has annoyed me more often then it's been useful hiding files I don't want to see.
(I don't think I have ever encountered a file on Windows starting with _ that should be hidden. Though I have certainly spent too long trying to ignore all the garbage files Windows likes to throw in my $HOME)
The text was updated successfully, but these errors were encountered:
Just my 2 cents here but in my opinion this "feature" is more confusing than useful.
I think the times where some Applications used the _ as pseudo hidden prefix are mostly behind us. (At least I know of no Application which still does this)
It would not be that big of a problem disabling this. (May still be a breaking change though see xkcd 1172 😅 )
I'll open a PR removing this. But I think some of the maintainer may want to weigh in here
jschpp
added a commit
to jschpp/eza
that referenced
this issue
Nov 14, 2024
On windows files prefixed with a `_` were being ignored because some old
applications used those files as pseudo dotfiles.
This was controversial when the feature was added way back when:
ogham/exa#820 (review)Fixeseza-community#1220
For what it's worth, as a Windows user I do find this behaviour very surprising. No other tool I've used considers them hidden. And I can't think of a situation where I've wanted them to be.
Python developers will know that 'dunder' files are common in python projects (
__init__.py
,__main__.py
,_private_module.py
, etc).On Windows, eza consideres files starting with a underscore (
_
) as a hidden 'dotfile', and does not list them by default.Technically, this is not actually a bug, as I have seen the code and PR's that added this feature.
But I think we would all agree this is undesired behavior and a common occurance for lots of (python) developers?
Seemingly 'missing' files beginning with
_
has annoyed me more often then it's been useful hiding files I don't want to see.(I don't think I have ever encountered a file on Windows starting with
_
that should be hidden. Though I have certainly spent too long trying to ignore all the garbage files Windows likes to throw in my $HOME)The text was updated successfully, but these errors were encountered: