mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
fix: replace filter
with where
in composer completions (#1140)
refs https://github.com/nushell/nu_scripts/issues/1134
This commit is contained in:
parent
6faa666e55
commit
b7120045bc
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ def "nu-complete composer commands" [] {
|
||||||
composer list --format json |
|
composer list --format json |
|
||||||
from json |
|
from json |
|
||||||
get commands |
|
get commands |
|
||||||
filter {|cmd| not $cmd.hidden} |
|
where {|cmd| not $cmd.hidden} |
|
||||||
each {|cmd| {value: $cmd.name, description: $cmd.description}}
|
each {|cmd| {value: $cmd.name, description: $cmd.description}}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue