Update bash completion docs
When I try to run the proposed script in my `~/.bashrc` file I get this output: ``` -bash: have: command not found -bash: have: command not found -bash: have: command not found -bash: have: command not found -bash: have: command not found -bash: have: command not found -bash: have: command not found -bash: have: command not found -bash: have: command not found -bash: have: command not found -bash: [: =: unary operator expected # ... ``` It goes on for quite some time and does not give me bash completion. When I execute `source "$(brew --prefix)/etc/bash_completion"` it works and I get bash completion. This script also emits a helpful error message letting people know if bash completion was not installed already. I'll also add that the bash completion script takes a fairly long amount of time. I've seen between one quarter and a half of a second to execute it: ``` $ time source "$(brew --prefix)/etc/bash_completion" real 0m0.254s ``` Though that's unrelated to this PR, making a note of it.
R
Richard Schneeman committed
1dcf8c689cb3e35d2b727903068c2df27c357ca6
Parent: 864a6b5
Committed by GitHub <noreply@github.com>
on 12/6/2018, 6:04:08 PM