Update Shell-Completion.md
Please see https://discourse.brew.sh/t/bash-completion-and-brew-instructions-for-setting-up-completions/3808 for details...
This commit is contained in:
parent
ca2b853a8e
commit
030ddc9762
@ -12,7 +12,7 @@ To make Homebrew's completions available in `bash`, you must source the definiti
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
if type brew 2&>/dev/null; then
|
if type brew 2&>/dev/null; then
|
||||||
source "$(brew --prefix)/etc/bash_completion"
|
source "$(brew --prefix)/etc/bash_completion.d/*"
|
||||||
else
|
else
|
||||||
echo "run: brew install git bash-completion"
|
echo "run: brew install git bash-completion"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user