diff --git a/docs/Shell-Completion.md b/docs/Shell-Completion.md index c595b4c77f..69f1e8e55a 100644 --- a/docs/Shell-Completion.md +++ b/docs/Shell-Completion.md @@ -72,10 +72,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 -gx fish_complete_path $fish_complete_path (brew --prefix)/share/fish/completions + set -p fish_complete_path (brew --prefix)/share/fish/completions end 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 ```