Skip to content

nushell panics by alias #7648

@TornaxO7

Description

@TornaxO7

Describe the bug

nushell panics if I enter e and press tab afterwards to open up the completion.

How to reproduce

  1. Add the following into your config (put it either in your config.nu or env.nu:
alias ea = ^$env.EDITOR /tmp/test.s
  1. Now open up a new nushell and press e then tab to get the completion.

Expected behavior

To see the completion menu.

Screenshots

No response

Configuration

key value
version 0.73.0
branch makepkg
commit_hash 1291b64
build_os linux-x86_64
build_target x86_64-unknown-linux-gnu
rust_version rustc 1.66.0 (69f9c33d7 2022-12-12) (Arch Linux rust 1:1.66.0-1)
cargo_version cargo 1.66.0
pkg_version 0.73.0
build_time 2022-12-21 00:14:26 +00:00
build_rust_channel release
features database, dataframe, default, trash, which, zip
installed_plugins

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:completionsIssues related to tab completionA:line-editorIssues related to reedlinecategory:bugSomething isn't workingdeprecated:priority(deprecated: used infrequently) these issues are important

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions