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