Add .profile

This commit is contained in:
tosu 2023-02-13 23:40:51 +01:00
parent 4524013c14
commit 3907e3a8e2
1 changed files with 22 additions and 0 deletions

22
.profile Normal file
View File

@ -0,0 +1,22 @@
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
if [ -f ~/.userprofile ]; then
. ~/.userprofile
fi