aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-07-27 13:34:29 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-07-27 13:34:29 +1200
commit0ef70bd9cf8bdeb423cfa7f5f404f856ffd3eb2b (patch)
treec73cdb4d173da6bd130820bbdb53d848723b6a0a
parentCorrect path to ~/.xprofile (diff)
downloaddotfiles-0ef70bd9cf8bdeb423cfa7f5f404f856ffd3eb2b.tar.gz
dotfiles-0ef70bd9cf8bdeb423cfa7f5f404f856ffd3eb2b.zip
Include .xprofile source-parts dir
-rw-r--r--x/xprofile7
1 files changed, 7 insertions, 0 deletions
diff --git a/x/xprofile b/x/xprofile
index 354df44b..454700ff 100644
--- a/x/xprofile
+++ b/x/xprofile
@@ -3,3 +3,10 @@
# Update browser, since .profile set this to a curses browser on login
# shellcheck disable=SC2034
BROWSER=x-www-browser
+
+# Load all supplementary scripts in ~/.xprofile.d
+for sh in "$HOME"/.xprofile.d/*.sh ; do
+ [ -e "$sh" ] || continue
+ . "$sh"
+done
+unset -v sh