-
In Nushell on Windows, the LS command's behavior differs due to how it handles hidden system directories like "System Volume Information".
-
Without a path (ls): Uses a wildcard pattern (*) with glob matching, which filters out "System Volume Information" because it has the FILE_ATTRIBUTE_HIDDEN attribute, per Windows-specific hidden file detection logic.
-
With a path (ls C:): Directly reads directory contents, bypassing glob filtering, so "System Volume Information" is shown if accessible.
Created
June 20, 2025 05:22
-
-
Save paul-d-ray/b378241f384d3c1d4a02d52fd6f9a3bf to your computer and use it in GitHub Desktop.
Nushell LS with a path vs LS without a Path
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment