@@ -109,7 +109,7 @@ export extern "op account forget" [
109109 -- help(-h) # help for forget
110110 -- all # Forget all authenticated accounts.
111111
112- account ?: string : string @" nu completion account" # The account to forget.
112+ account ?: string @" nu completion account" # The account to forget.
113113]
114114
115115# Manage Connect server instances and tokens in your 1Password account
@@ -2124,7 +2124,7 @@ def "nu completion item" [] {
21242124
21252125def parse_args_rg [] { " (?<opening_quote>['\" `]?)(?<content>.*?)(?<closing_quote>\\ k<opening_quote>)(?<separator>\\ s+)" }
21262126
2127- def "nu completion parse-context" [] string -> { cmd : string , args: list<string> } {
2127+ def "nu completion parse-context" []: string -> record {
21282128 # context strings starts at cursor position
21292129 let ctx = $in + ' ' # add space to end to ensure last part is parsed🙄
21302130 mut parse = $ctx | parse -- regex (parse_args_rg )
@@ -2177,7 +2177,7 @@ def "nu completion parse-context" [] string -> {cmd: string, args: list<string>}
21772177def "nu completion output" [
21782178 ctx : string , # entered command [sub command, args, + options]
21792179 -- complete (- c ) # if the copletion should have a closing quote and terminating space
2180- ] list <string > -> list <string >, string -> list <string > {
2180+ ]: list <string > -> list <string >, string -> list <string > {
21812181
21822182 let output = $in
21832183 let parse = $ctx + ` `
0 commit comments