Skip to content

Commit

Permalink
Merge pull request #2687 from carapace-sh/env-unfiltered
Browse files Browse the repository at this point in the history
updated carapace
  • Loading branch information
rsteube authored Jan 22, 2025
2 parents f979dff + 7415760 commit 1ab2e4f
Show file tree
Hide file tree
Showing 7 changed files with 403 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ enable = true

[output.linkcheck]
follow-web-links = true
exclude = [ 'archlinux\.org']
exclude = [ 'archlinux\.org', 'github\.com/carapace-sh' ]
10 changes: 10 additions & 0 deletions docs/src/release_notes/v1.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,13 @@ completion:
> - Renamed `env.EnvironmentVariableValues` to `env.Values`.

[`shift`]:https://carapace-sh.github.io/carapace-spec/carapace-spec/macros/modifier.html#shift

## Unfiltered

Added `CARAPACE_UNFILTERED` environment variable to skip the final filtering step.

![](./v1.x/unfiltered.cast)

> This enables fuzzy completion in [fish], but only works for (mostly) static values.

[fish]:https://fishshell.com/
189 changes: 189 additions & 0 deletions docs/src/release_notes/v1.x/unfiltered.cast

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions docs/src/setup/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,17 @@ Whether to enable tooltip style.

> Only affects Powershell.
## CARAPACE_UNFILTERED

Whether to skip the final filtering step.

![](./unfiltered.cast)

> This enables fuzzy completion in [fish], but only works for (mostly) static values.
## CARAPACE_ZSH_HASH_DIRS

Zsh hash directories (internal).


[fish]:https://fishshell.com/
189 changes: 189 additions & 0 deletions docs/src/setup/unfiltered.cast

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/carapace-sh/carapace-bin
go 1.23.1

require (
github.com/carapace-sh/carapace v1.6.0
github.com/carapace-sh/carapace v1.6.1
github.com/carapace-sh/carapace-bridge v1.2.2
github.com/carapace-sh/carapace-selfupdate v0.0.8
github.com/carapace-sh/carapace-shlex v1.0.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/carapace-sh/carapace v1.6.0 h1:bBtmZQUdqLdySWPlTuCxEJo8c+tZXLprDnEwUEb7g2k=
github.com/carapace-sh/carapace v1.6.0/go.mod h1:djegtVDi/3duSAqZNU+/nCq7XtDRMRZUb5bW0O/HnEs=
github.com/carapace-sh/carapace v1.6.1 h1:mh4byD5qEGzP1wv5JZ5JXdVOXrg4lIzDV0l6isl3xNE=
github.com/carapace-sh/carapace v1.6.1/go.mod h1:djegtVDi/3duSAqZNU+/nCq7XtDRMRZUb5bW0O/HnEs=
github.com/carapace-sh/carapace-bridge v1.2.2 h1:Zlzw7BajF4iHAFBClCYcptEG+7+F324dFyiGzGiU/kw=
github.com/carapace-sh/carapace-bridge v1.2.2/go.mod h1:HpN3iEdCmQtAD1pd/qHEnWmAF719CeNyJrY8FJ5/E4o=
github.com/carapace-sh/carapace-pflag v1.0.0 h1:uJMhl+vwEM/Eb0UdxZUuv4jo4rUAyPijkRGP5gfCuCE=
Expand Down

0 comments on commit 1ab2e4f

Please sign in to comment.