1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 09:15:24 +02:00

[bash] bash_environment/PATH: add .local/bin

This commit is contained in:
Hyacinthe Cartiaux 2015-06-22 16:43:49 +02:00
parent 8a3c57e216
commit feee08c05f

View file

@ -57,13 +57,20 @@ case "$0" in
esac
# ----------------------------------------------------------------------
# PATH - /usr/local
# PATH
# ----------------------------------------------------------------------
# we want the various sbins on the path along with /usr/local/bin
export PATH="$PATH:/usr/local/sbin:/usr/sbin:/sbin"
export PATH="/usr/local/bin:$PATH"
# put ~/.local/bin on PATH if you have it
[ -d "$HOME/.local/bin" ] && export PATH="$PATH:$HOME/.local/bin"
# put ~/bin on PATH if you have it
[ -d "$HOME/bin" ] && export PATH="$PATH:$HOME/bin"
# Programming stuff
# pkg-config settings
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
@ -73,10 +80,6 @@ export CPLUS_INCLUDE_PATH=${C_INCLUDE_PATH}
export LIBRARY_PATH=/usr/lib:/usr/local/lib
export DYLD_FALLBACK_LIBRARY_PATH=${LIBRARY_PATH}
# put ~/bin on PATH if you have it
if [ -d "$HOME/bin" ]; then
export PATH="$PATH:$HOME/bin"
fi
export MANPATH="/usr/share/man:/usr/local/share/man:$MANPATH"
# ----------------------------------------------------------------------