fix menus in default config
Simply fixes menus commands_with_description, commands_menu
@@ -394,8 +394,8 @@ let-env config = {
}
source: { |buffer, position|
$nu.scope.commands
- | where command =~ $buffer
- | each { |it| {value: $it.command description: $it.usage} }
+ | where name =~ $buffer
+ | each { |it| {value: $it.name description: $it.usage} }
}
}
{
@@ -437,8 +437,8 @@ let-env config = {
}
source: { |buffer, position|
$nu.scope.commands
- | where command =~ $buffer
- | each { |it| {value: $it.command description: $it.usage} }
+ | where name =~ $buffer
+ | each { |it| {value: $it.name description: $it.usage} }
}
}
]
