added another ~/.bash_profile option

Added another ~/.bash_profile options, listed below:
`
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
`
This commit is contained in:
Jose E 2018-04-18 11:59:52 -06:00 committed by GitHub
parent 91ea932ae6
commit 7f4e5e3c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -462,6 +462,13 @@ ln -s $etc/docker-compose.bash-completion $(brew --prefix)/etc/bash_completion.d
Add the following to your `~/.bash_profile`:
```shell
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
```
OR
```shell
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion