aboutsummaryrefslogtreecommitdiff
path: root/profile.dot.link
diff options
context:
space:
mode:
Diffstat (limited to 'profile.dot.link')
-rw-r--r--profile.dot.link28
1 files changed, 23 insertions, 5 deletions
diff --git a/profile.dot.link b/profile.dot.link
index 3c83dbb..bd13750 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -389,12 +389,30 @@ fi
# Make sure we start at the startup folder, defaulting to home
cd $STARTUP_FOLDER
-# Run startup commands
-#if [ ! -z "$STARTUP" ]; then
-# $STARTUP
+# Include other profiles
+if [ -d "$HOME/.profile.d" ]; then
+ scripts="`find $HOME/.profile.d -type f`"
+
+ for script in $scripts; do
+ include $script
+ done
+fi
+
+# Include custom profiles
+#if [ -d "$HOME/.custom/profile.d" ]; then
+# scripts="`find $HOME/.custom/profile.d -type f`"
+#
+# for script in $scripts; do
+# include $script
+# done
#fi
# Run startup scripts
-#if [ -d "$HOME/.custom/profile.d" ];
-# run-parts $HOME/.custom/profile.d
+#if [ -d "$HOME/.custom/rc.d" ]; then
+# run-parts $HOME/.custom/rc.d
+#fi
+
+# Run startup commands
+#if [ ! -z "$STARTUP" ]; then
+# $STARTUP
#fi