Skip to content

Commit

Permalink
Shell-Completion: fix redirection.
Browse files Browse the repository at this point in the history
Fixes the issue noted in #5625.
  • Loading branch information
MikeMcQuaid committed Feb 21, 2019
1 parent e1c12de commit ea379a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Shell-Completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ea379a8

Please sign in to comment.