diff --git a/internal/completions/asdf.nushell b/internal/completions/asdf.nushell index 52239f003..c8afdae94 100644 --- a/internal/completions/asdf.nushell +++ b/internal/completions/asdf.nushell @@ -95,12 +95,12 @@ module asdf { let template = '(?P.+)' + ( $params | where enabled | - get --ignore-errors template | + get --optional template | str join '' | str trim ) - let flags = ($params | where enabled | get --ignore-errors flag | default '' ) + let flags = ($params | where enabled | get --optional flag | default '' ) ^asdf plugin list ...$flags | lines | parse -r $template | str trim }