Merge pull request #16160 from MariaSolOs/fish-completions

fix(docs): update fish completions command
This commit is contained in:
Kevin 2023-10-28 23:25:32 -07:00 committed by GitHub
commit bf8991f0d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,10 +72,10 @@ If your `fish` is from somewhere else, add the following to your `~/.config/fish
```sh ```sh
if test -d (brew --prefix)"/share/fish/completions" if test -d (brew --prefix)"/share/fish/completions"
set -gx fish_complete_path $fish_complete_path (brew --prefix)/share/fish/completions set -p fish_complete_path (brew --prefix)/share/fish/completions
end end
if test -d (brew --prefix)"/share/fish/vendor_completions.d" if test -d (brew --prefix)"/share/fish/vendor_completions.d"
set -gx fish_complete_path $fish_complete_path (brew --prefix)/share/fish/vendor_completions.d set -p fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
end end
``` ```