aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-03 17:00:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-03 17:00:56 -0300
commitf95eb83881473d6922e9c45d79b3ed1b0bbfc656 (patch)
treeb8d3bed717989f435aa65589cfb34fdc3e7c8b3a
parent66922e89eb336c0a47255f552a0ac0a0cab54c92 (diff)
downloadprofile-f95eb83881473d6922e9c45d79b3ed1b0bbfc656.tar.gz
profile-f95eb83881473d6922e9c45d79b3ed1b0bbfc656.tar.bz2
Fix: profile: source custom scripts with a dot
-rw-r--r--profile.dot.link4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile.dot.link b/profile.dot.link
index b0626b4..bc7586e 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -421,14 +421,14 @@ cd $STARTUP_FOLDER
# Include other profiles
if [ -d "$HOME/.profile.d" ]; then
for script in `ls $HOME/.profile.d`; do
- source $HOME/.profile.d/$script
+ . $HOME/.profile.d/$script
done
fi
# Include custom profiles
if [ -d "$HOME/.custom/profile.d" ]; then
for script in `ls $HOME/.custom/profile.d`; do
- source $HOME?.custom/profile.d/$script
+ . $HOME/.custom/profile.d/$script
done
fi