remove ~ and use /home/studie

This commit is contained in:
2024-04-21 22:49:28 +02:00
parent 487f0e8134
commit 846559bc03
5 changed files with 46 additions and 18 deletions

24
home/profile Normal file
View File

@@ -0,0 +1,24 @@
# for interactive login shells
src_files() {
local f
for f in "$@"; do
# source dirs
if [ -d "$f" ]; then
src_files "$f"/* || true
# source files
elif [ -f "$f" ]; then
# shellcheck source=/dev/null
source "$f" || true
fi
done
}
src_files "$HOME/.profile.d"
if [ -f ~/.bashrc ];
then
. ~/.bashrc;
fi
PATH=$PATH:$HOME/bin export PATH