add bash completion for Homebrew installation

This commit is contained in:
Franklin Yu 2015-10-28 02:00:17 -04:00
parent a8f1a22507
commit 358506f443
1 changed files with 8 additions and 0 deletions

View File

@ -185,6 +185,14 @@ To activate, you need to source `bash_completion`:
Put the above sourcing line just below the sourcing line for NVM in your profile (`.bashrc`, `.bash_profile`).
If you installed with Homebrew, the bash completion file is included with
```shell
for f in $(brew --prefix nvm)/etc/bash_completion.d/*; do
source $f
done
```
### Usage
nvm