Skip to content

Commit

Permalink
Improve bashrc
Browse files Browse the repository at this point in the history
- exit cleanly even if files are missing
- add ~/.local/bin to PATH
  • Loading branch information
kamaradclimber committed Aug 2, 2015
1 parent d6e31d9 commit c1977c4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,14 @@ if [ -d "/opt/chefdk/bin" ]; then
export PATH="/opt/chefdk/bin:$PATH"
fi

if [ -d "$HOME/.local/bin/" ]; then
export PATH=$PATH:$HOME/.local/bin/
fi

if [ -f "$HOME/.bash_criteo" ] ; then
. $HOME/.bash_criteo
fi
[ -f ~/.bundler-exec.sh ] && source ~/.bundler-exec.sh


true # finish with a correct exit code

0 comments on commit c1977c4

Please sign in to comment.