mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
fix(docs): update fish completions command
This commit is contained in:
parent
700c7dea3f
commit
7eebe3c1b4
@ -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
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user