Skip to content

config nu fails due to mysterious unquoted path #10205

Closed

Description

@lemoncove

Describe the bug

Running the config nu command fails because nushell appears to be looking for an executable in C:/Program Files or similar but parses the path incorrectly, or something like that.

How to reproduce

  1. Have an affected system?
  2. Run config nu.

Expected behavior

config nu should open config.nu.

Screenshots

image

Configuration

key value
version 0.84.0
branch
commit_hash d2abb86
build_os windows-x86_64
build_target x86_64-pc-windows-msvc
rust_version rustc 1.69.0 (84c898d65 2023-04-16)
rust_channel 1.69.0-x86_64-pc-windows-msvc
cargo_version cargo 1.69.0 (6e9a83356 2023-04-12)
build_time 2023-08-22 21:20:58 +00:00
build_rust_channel release
allocator standard
features default, sqlite, trash, which, zip
installed_plugins

Additional context

No response

Activity

  1. added
    status:needs-triage
    on Sep 3, 2023
  2. added
    category:bug
    A:line-editor
    A:configuration
    and removed
    status:needs-triage
    on Sep 4, 2023
  3. Salted-Fish-Swimming commented on Sep 7, 2023

    @Salted-Fish-Swimming

    It may be about space in your win's path , you can try make your default editor in a path without spaces and modify environment $env.EDITOR or $env.VISUAL like this .

  4. added a commit that references this issue on Sep 29, 2023
    80a183d
  5. added this to the v0.86.0 milestone on Sep 29, 2023
  6. added a commit that references this issue on Dec 14, 2023
    71e7d1d
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

    A:configurationA:line-editorcategory:bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions