Skip to content

nu -c "" fails #5370

Closed
Closed

Description

@zetanumbers

Describe the bug

nu -c "" fails

How to reproduce

nu -c ""

Expected behavior

Initialize but execute no commands

Screenshots

изображение

Configuration

I've installed it via brew.

key value
version 0.61.0
branch main
tag
build_os linux-x86_64
rust_version rustc 1.59.0
cargo_version cargo 1.59.0
pkg_version 0.61.0
build_time 2022-04-12 20:38:15 +00:00
build_rust_channel release
features dataframe, default, trash, which, zip
installed_plugins

Additional context

Hyperfine requires nu -c "" to use nushell as it's --shell

Activity

  1. added
    category:bug
    on Apr 29, 2022
  2. zetanumbers commented on Apr 29, 2022

    @zetanumbers
    ContributorAuthor

    After some digging i found something strange: while running main nushell inside of my 0.61.0 version, main nushell's argument was switched from "" to current working directory. If i do that inside of main nushell, then it gots it right, however there's another error.

  3. added this to the v0.62.0 milestone on Apr 30, 2022
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

    category:bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions