Skip to content

Commit a955c77

Browse files
peterdragundavidism
authored andcommitted
update fish enabling script
1 parent 3c1529e commit a955c77

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Unreleased
77

88
- Fix issue with regex flags in shell completion. :issue:`2581`
99
- Bash version detection issues a warning instead of an error. :issue:`2574`
10+
- Fix issue with completion script for Fish shell. :issue:`2567`
1011

1112

1213
Version 8.1.6

docs/shell-completion.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ program name. This uses ``foo-bar`` as an example.
6262

6363
.. code-block:: fish
6464
65-
eval (env _FOO_BAR_COMPLETE=fish_source foo-bar)
65+
_FOO_BAR_COMPLETE=fish_source foo-bar | source
6666
6767
This is the same file used for the activation script method
6868
below. For Fish it's probably always easier to use that method.

0 commit comments

Comments
 (0)