Add user private bin dossier to PATH

This commit is contained in:
dany 2022-08-22 12:02:21 +02:00
parent 3c829f53e1
commit 7e162ca91b

19
profile Normal file
View File

@ -0,0 +1,19 @@
# 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