From 189c3d646e3ec6f76f74527e0aeb1586aad2127c Mon Sep 17 00:00:00 2001 From: Jan Klass Date: Sun, 11 May 2025 23:33:28 +0200 Subject: [PATCH] fishgen: Fix flags crossing subcommands (#1122) --- needs-update/custom-completions/auto-generate/parse-fish.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/needs-update/custom-completions/auto-generate/parse-fish.nu b/needs-update/custom-completions/auto-generate/parse-fish.nu index ccbbb2d..a151e20 100644 --- a/needs-update/custom-completions/auto-generate/parse-fish.nu +++ b/needs-update/custom-completions/auto-generate/parse-fish.nu @@ -103,7 +103,7 @@ def make-subcommands-completion [parents: list] { " [\n" ( $fishes - | if ('n' in ($subcommand | columns)) { + | if ('n' in ($subcommand.args | columns)) { if ($subcommand.name != "") { where ($it.n | str contains $subcommand.name) # for subcommand -> any where n matches `__fish_seen_subcommand_from arg` for the subcommand name } else {