Don't display directory junctions with ls command on Windows

#11148

Issue Details

over 1 year ago
xd003xd003
enhancementplatform-specificfile-systemwindows
xd003xd003
opened over 1 year ago
Author

There are quite some directory junctions which are created by default on Windows. In its current state, nushell lists them with ls command. Listing them by default clutters the console unnecessarily since these items are different from user created alias

Describe the solution you'd like

It would be ideal if nushell is able to identify these directory junctions and display them only when ls -a is used. Both Powershell and git bash on Windows already follow the same behaviour

Additional context and details

These directory junctions can be specifically identified by running dir /ad in command prompt. They have <JUNCTION> written alongside them. Just attaching a screenshot below for further reference

image