antosaio/profile

23 lines
590 B
Plaintext
Raw Normal View History

2022-08-22 12:49:21 +02:00
# unset variable if exists
unset ANTOS_USER
unset ANTOS_PASSWORD
2022-08-22 12:02:21 +02:00
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
export PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
export PATH="$HOME/.local/bin:$PATH"
fi
# set user private LIB search path
if [ -d "$HOME/lib" ] ; then
export LD_LIBRARY_PATH="$HOME/lib:$LD_LIBRARY_PATH"
fi
# set user private LIB search path
if [ -d "$HOME/.local/lib" ] ; then
export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"
fi