aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profile.dot.link4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile.dot.link b/profile.dot.link
index 74a301e..f32c787 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -395,7 +395,7 @@ cd $STARTUP_FOLDER
# Include other profiles
if [ -d "$HOME/.profile.d" ]; then
- scripts="`find $HOME/.profile.d -type f`"
+ scripts="`find $HOME/.profile.d -maxdepth 1 -type f,l`"
for script in $scripts; do
source $script
@@ -404,7 +404,7 @@ fi
# Include custom profiles
if [ -d "$HOME/.custom/profile.d" ]; then
- scripts="`find $HOME/.custom/profile.d -type f`"
+ scripts="`find $HOME/.custom/profile.d -maxdepth 1 -type f,l`"
for script in $scripts; do
source $script