.profile -> .bashrc

.profile doesn't run when launching a new shell
This commit is contained in:
Charlie O'Keefe 2019-02-12 19:58:30 -07:00
parent 2d6264dd30
commit 70945be0a2
1 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
pip install --user -U ansible
```
This will place an `ansible` executable in `~/.local/bin`, so add the following to `~/.profile`:
This will place an `ansible` executable in `~/.local/bin`, so add the following to `~/.bashrc`:
```
# set PATH so it includes user's private .local/bin if it exists
@ -122,10 +122,10 @@ if [ -d "$HOME/.local/bin" ] ; then
fi
```
Then source .profile in your shell session:
Then restart your shell or source .bashrc in your shell session:
```
$ source .profile
$ source .bashrc
```
Most recently tested 2018-04-23 with the following ansible release: