remove ~ and use /home/studie
This commit is contained in:
24
home/profile
Normal file
24
home/profile
Normal 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
|
||||
Reference in New Issue
Block a user