Shell-Completion: fix redirection.
Fixes the issue noted in https://github.com/Homebrew/brew/pull/5625.
This commit is contained in:
parent
e1c12de1ba
commit
ea379a84a6
@ -11,7 +11,7 @@ You must configure your shell to enable the completion support. This is because
|
||||
To make Homebrew's completions available in `bash`, you must source the definitions as part of your shell startup. Add the following to your `~/.bashrc` file:
|
||||
|
||||
```sh
|
||||
if type brew 2&>/dev/null; then
|
||||
if type brew &>/dev/null; then
|
||||
for COMPLETION in $(brew --prefix)/etc/bash_completion.d/*
|
||||
do
|
||||
[[ -f $COMPLETION ]] && source "$COMPLETION"
|
||||
|
Loading…
x
Reference in New Issue
Block a user