Skip to content

Ability to display forward slashes instead of backward slashes everywhere in the shell for path, get-childitem, etc.. #16622

Closed

Description

@mgpinf

Summary of the new feature / enhancement

Option to display / instead of \ everywhere

Proposed technical implementation details (optional)

Remove read-only property from [System.IO.path]::DirectorySeparatorChar.
[System.IO.path]::AltDirectorySeparatorChar exists as / but I want forward slashes to be displayed by default. As someone working across cross-platform, the looking at "\" in shell is irritating.

Activity

  1. added
    Issue-Enhancement
    Needs-Triage
    on Dec 15, 2021
  2. iSazonov commented on Dec 15, 2021

    @iSazonov
    Collaborator

    See #8587 (comment)
    PowerShell has some bugs in the area (ex., see #9244) and we already have some issues for them. You can review them, discuss and try to fix.

  3. ghost closed this as completedon Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-EnhancementNeeds-TriageResolution-Duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions