mirror of
https://github.com/nushell/nushell
synced 2024-11-15 01:17:07 +00:00
fix menus in default config (#7352)
Simply fixes menus commands_with_description, commands_menu
This commit is contained in:
parent
57ff668d2e
commit
db6c804b17
1 changed files with 4 additions and 4 deletions
|
@ -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} }
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue