forked from extern/nushell
fix menus in default config (#7352)
Simply fixes menus commands_with_description, commands_menu
This commit is contained in:
parent
57ff668d2e
commit
db6c804b17
@ -394,8 +394,8 @@ let-env config = {
|
|||||||
}
|
}
|
||||||
source: { |buffer, position|
|
source: { |buffer, position|
|
||||||
$nu.scope.commands
|
$nu.scope.commands
|
||||||
| where command =~ $buffer
|
| where name =~ $buffer
|
||||||
| each { |it| {value: $it.command description: $it.usage} }
|
| each { |it| {value: $it.name description: $it.usage} }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@ -437,8 +437,8 @@ let-env config = {
|
|||||||
}
|
}
|
||||||
source: { |buffer, position|
|
source: { |buffer, position|
|
||||||
$nu.scope.commands
|
$nu.scope.commands
|
||||||
| where command =~ $buffer
|
| where name =~ $buffer
|
||||||
| each { |it| {value: $it.command description: $it.usage} }
|
| each { |it| {value: $it.name description: $it.usage} }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user