Skip to content

nushell 0.94.1 breaks Windows path handling #13016

@CarterLi

Description

@CarterLi

Describe the bug

Error:   × Invalid literal
     ╭─[C:\Users\zhang\AppData\Roaming\nushell\config.nu:792:17]
 791 │ #use ~/.starship.nu
 792 │ alias curl = c:\msys64\clangarm64\bin\curl.exe
     ·                 ───────────────┬──────────────
     ·                                ╰── unrecognized escape after '\' in string
 793 │ alias vim = nvim
     ╰────

How to reproduce

Windows style paths in config file result in error unrecognized escape after '\' in string

Expected behavior

Don't error

Screenshots

N/A

Configuration

N/A

Additional context

Regression in 0.94.1. It worked in 0.94.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:bugSomething isn't workingplatform:windowsIssues which are specific to Windows

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions