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

View File

@ -11,6 +11,11 @@ export CALIBRE_USE_SYSTEM_THEME=true
export WORDCHARS=${WORDCHARS/\//} export WORDCHARS=${WORDCHARS/\//}
export PAGER=less 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 # Set temporary files locations
if [[ ! -d "$TMPDIR" ]]; then if [[ ! -d "$TMPDIR" ]]; then
export TMPDIR="/tmp/$LOGNAME" export TMPDIR="/tmp/$LOGNAME"