Remove quoted completion one-liner
This commit is contained in:
parent
4872d6653f
commit
5a992f1194
@ -24,12 +24,7 @@ fi
|
|||||||
```
|
```
|
||||||
|
|
||||||
Should you later install the `bash-completion` formula, this will automatically use its initialization script to read the completions files.
|
Should you later install the `bash-completion` formula, this will automatically use its initialization script to read the completions files.
|
||||||
When installed, the `bash-completion` formula also runs `${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh` and all files in the `bash_completion.d` directory. This is done by adding a line to your `.bash_profile` -
|
When installed, the `bash-completion` formula also runs `${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh` and all files in the `bash_completion.d` directory. This is done by adding a line to your `.bash_profile` which is given in the Caveats section upon the installation of `bash-completion`
|
||||||
|
|
||||||
```
|
|
||||||
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
|
|
||||||
```
|
|
||||||
which is mentioned in the Caveats section upon the installation of `bash-completion`
|
|
||||||
|
|
||||||
As both Homebrew's completion code given above and the Caveats line do the same thing, it is recommended to either not add the Caveats line or to comment the line out because Homebrew's completion code works even without installing the `bash-completion` formula.
|
As both Homebrew's completion code given above and the Caveats line do the same thing, it is recommended to either not add the Caveats line or to comment the line out because Homebrew's completion code works even without installing the `bash-completion` formula.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user