Add $HOME/.bin to PATH if it exists

This commit is contained in:
Adam Goldsmith 2017-09-02 13:52:34 -04:00
parent e2956ca000
commit c2d03eb940
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,11 @@ export CALIBRE_USE_SYSTEM_THEME=true
export WORDCHARS=${WORDCHARS/\//}
export PAGER=less
# Add $HOME/.bin to PATH if it exists
if [[ -d "$HOME/.bin" ]]; then
export PATH="$PATH:$HOME/.bin"
fi
# Set temporary files locations
if [[ ! -d "$TMPDIR" ]]; then
export TMPDIR="/tmp/$LOGNAME"