Update Shell-Completion.md

This commit is contained in:
Adrian Ho 2020-07-03 20:24:50 +08:00 committed by GitHub
parent 7f651de7be
commit 125ed8cf93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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