diff --git a/src/completions/argc.nu b/src/completions/argc.nu index 8dcb50b..d4ecde5 100644 --- a/src/completions/argc.nu +++ b/src/completions/argc.nu @@ -1,7 +1,8 @@ def _argc_completer [args: list] { argc --argc-compgen nushell "" ...$args - | split row "\n" | range 0..-2 - | each { |line| $line | split column "\t" value description } | flatten + | split row "\n" + | each { |line| $line | split column "\t" value description } + | flatten } let external_completer = {|spans|