From e8e6891cadb4dfc4808167d71aadcf0cd1c3b1f6 Mon Sep 17 00:00:00 2001 From: Jan Klass Date: Sun, 11 May 2025 19:26:58 +0200 Subject: [PATCH] fishgen: Fix flags crossing subcommands --- 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 ccbbb2d2c..a151e20a9 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 {