fix .profile

This commit is contained in:
2024-11-12 15:06:46 -05:00
parent ca8415bf09
commit 3103ec163d
3 changed files with 20 additions and 30 deletions
+20
View File
@@ -0,0 +1,20 @@
# ~/.profile
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
if [ -f "$HOME/.bash_aliases" ]; then
. "$HOME/.bash_aliases"
fi