Skip to content

Commit

Permalink
πŸ“ Suggest to install into ~/.bash_profile instead of ~/.bashrc
Browse files Browse the repository at this point in the history
Not all users load ~/.bashrc from their ~/.bash_profile …
  • Loading branch information
bramus committed May 24, 2019
1 parent 8601a3d commit f372168
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ Built by Bram(us) Van Damme _([https://www.bram.us](https://www.bram.us))_ and [
$ mv ./composer-autocomplete ~/composer-autocomplete
```

3. Load `composer-autocomplete` from within your `~/.bashrc`
3. Load `composer-autocomplete` from within your `~/.bash_profile`

```
$ echo "" >> ~/.bashrc
$ echo 'if [ -f "$HOME/composer-autocomplete" ] ; then' >> ~/.bashrc
$ echo ' . $HOME/composer-autocomplete' >> ~/.bashrc
$ echo "fi" >> ~/.bashrc
$ echo "" >> ~/.bash_profile
$ echo 'if [ -f "$HOME/composer-autocomplete" ] ; then' >> ~/.bash_profile
$ echo ' . $HOME/composer-autocomplete' >> ~/.bash_profile
$ echo "fi" >> ~/.bash_profile
```

4. Restart your shell, or reload your `~/.bash_profile`
Expand Down

0 comments on commit f372168

Please # to comment.