Skip to content

Commit

Permalink
fix: nushell completion script
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Apr 27, 2024
1 parent fda9a64 commit 19ad734
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/completions/argc.nu
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
def _argc_completer [args: list<string>] {
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|
Expand Down

0 comments on commit 19ad734

Please sign in to comment.