From b3ad2fd995537822992bf80f148b3a9f1021f2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stalder?= Date: Fri, 25 Jul 2025 10:07:17 +0200 Subject: [PATCH] fix: replace deprecated -i with -o in 1password custom completions --- custom-completions/op/op-completions.nu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/custom-completions/op/op-completions.nu b/custom-completions/op/op-completions.nu index 0cd61f186..c39e3abb8 100644 --- a/custom-completions/op/op-completions.nu +++ b/custom-completions/op/op-completions.nu @@ -1991,7 +1991,7 @@ def "nu completion duration" [ctx: string] { } def "nu completion tag" [] { - op item list --format json | from json | get tags -i | uniq | sort --ignore-case --natural + op item list --format json | from json | get tags -o | uniq | sort --ignore-case --natural } def "nu completion tags" [ctx: string] { @@ -2108,15 +2108,15 @@ def "nu completion bool" [] { } def "nu completion account" [] { - op account list --format json | from json | select -i account_uuid email | rename value description | sort-by description --ignore-case --natural + op account list --format json | from json | select -o account_uuid email | rename value description | sort-by description --ignore-case --natural } def "nu completion document_item" [] { - op item list --format json | from json | where category == "DOCUMENT" | select -i id title | rename value description | sort-by description --ignore-case --natural + op item list --format json | from json | where category == "DOCUMENT" | select -o id title | rename value description | sort-by description --ignore-case --natural } def "nu completion item" [] { - op item list --format json | from json | select -i id title additional_information | rename value description + op item list --format json | from json | select -o id title additional_information | rename value description | upsert description {|row| if ($row.additional_information | is-not-empty) and $row.additional_information != '' {$"($row.description) - ($row.additional_information)"} else {$row.description} } | sort-by description --ignore-case --natural | select value description