aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-07-07 18:21:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-07-07 18:21:24 -0300
commit8630d8e3cc306a59ecf1a4fd7d4c2093faaa3670 (patch)
tree0deb5426a48bd0951060db76e15a1e53c9fe453b
parent602beed549bb97da0cc2c4240527581fb0cf465d (diff)
downloadprofile-8630d8e3cc306a59ecf1a4fd7d4c2093faaa3670.tar.gz
profile-8630d8e3cc306a59ecf1a4fd7d4c2093faaa3670.tar.bz2
Fix: simplify .profile.d and .custom/profile.d evaluation (2)
-rw-r--r--profile.dot.link4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile.dot.link b/profile.dot.link
index 91b25eb..44c57e2 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -396,14 +396,14 @@ cd $STARTUP_FOLDER
# Include other profiles
if [ -d "$HOME/.profile.d" ]; then
for script in `ls $HOME/.profile.d`; do
- source $script
+ source $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 $script
+ source $HOME?.custom/profile.d/$script
done
fi