From ad9383156a7941dbadd5d6fd4be62c3c34cbc496 Mon Sep 17 00:00:00 2001 From: rsteube Date: Sat, 25 Jan 2025 17:23:03 +0100 Subject: [PATCH] env: added completion for `CARAPACE_UNFILTERED` --- pkg/actions/env/carapace.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/actions/env/carapace.go b/pkg/actions/env/carapace.go index f94514bd43..87b56827de 100644 --- a/pkg/actions/env/carapace.go +++ b/pkg/actions/env/carapace.go @@ -22,6 +22,7 @@ func init() { "CARAPACE_NOSPACE": "nospace suffixes", "CARAPACE_SANDBOX": "mock context for sandbox tests", "CARAPACE_TOOLTIP": "enable tooltip style", + "CARAPACE_UNFILTERED": "skip the final filtering step", "CARAPACE_ZSH_HASH_DIRS": "zsh hash directories", // carapace-bin "CARAPACE_EXCLUDES": "internal completers to exclude", @@ -41,8 +42,9 @@ func init() { "CARAPACE_NOSPACE": carapace.ActionValuesDescribed( "*", "match all", ).UniqueList(""), - "CARAPACE_SANDBOX": carapace.ActionValues(), - "CARAPACE_TOOLTIP": _bool, + "CARAPACE_SANDBOX": carapace.ActionValues(), + "CARAPACE_TOOLTIP": _bool, + "CARAPACE_UNFILTERED": _bool, // carapace-bin "CARAPACE_EXCLUDES": carapace.Batch( carapace.ActionCallback(func(c carapace.Context) carapace.Action {