Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command menus are broken #7507

Closed
Sygmei opened this issue Dec 16, 2022 · 2 comments
Closed

Command menus are broken #7507

Sygmei opened this issue Dec 16, 2022 · 2 comments
Labels
🐛 bug Something isn't working configuration Issue related to nu's configuration
Milestone

Comments

@Sygmei
Copy link
Contributor

Sygmei commented Dec 16, 2022

Describe the bug

Command menus (that can be opened with CTRL + T or CTRL + S by default) display only error entries
$nu.config-path

{
  name: commands_menu
  modifier: control
  keycode: char_t
  mode: [emacs, vi_normal, vi_insert]
  event: { send: menu name: commands_menu }
}
{
  name: commands_with_description
  modifier: control
  keycode: char_s
  mode: [emacs, vi_normal, vi_insert]
  event: { send: menu name: commands_with_description }
}

When pressing the CTRL + S shortcut and typing the ls command, it will give the following output

❯ # ls
Not a record: Error { error: IncompatiblePathAccess("error", Span { start: 14825, end: 14832 }) }
Not a record: Error { error: IncompatiblePathAccess("error", Span { start: 14825, end: 14832 }) }
Not a record: Error { error: IncompatiblePathAccess("error", Span { start: 14825, end: 14832 }) }
Not a record: Error { error: IncompatiblePathAccess("error", Span { start: 14825, end: 14832 }) }

How to reproduce

Press CTRL + S, type ls

Expected behavior

A list of commands and their description

Screenshots

image

Configuration

key value
version 0.72.1
branch
commit_hash 777f746
build_os windows-x86_64
build_target x86_64-pc-windows-msvc
rust_version rustc 1.65.0 (897e37553 2022-11-02)
rust_channel stable-x86_64-pc-windows-msvc
cargo_version cargo 1.65.0 (4bc8f24d3 2022-10-20)
pkg_version 0.72.1
build_time 2022-12-05 17:43:26 +00:00
build_rust_channel release
features database, default, trash, which, zip
installed_plugins

Additional context

The terminal I'm using is the Windows Terminal

@sholderbach sholderbach added 🐛 bug Something isn't working configuration Issue related to nu's configuration labels Dec 17, 2022
@rgwood
Copy link
Contributor

rgwood commented Dec 17, 2022

Did a bisect and it looks like this broke on b90d701

@rgwood
Copy link
Contributor

rgwood commented Dec 17, 2022

Good news, I believe this has already been fixed: #7352

Looks like you'll need to update your config.nu. Sorry for the inconvenience!

@rgwood rgwood closed this as completed Dec 17, 2022
@hustcer hustcer added this to the v0.73 milestone Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working configuration Issue related to nu's configuration
Projects
None yet
Development

No branches or pull requests

4 participants