aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-07-07 13:53:34 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-07-07 13:53:34 -0300
commitc5711526d52ed6e190c590b018602a5edd7f1f31 (patch)
tree3c6f0f62e9080c83402d9493dabcd7c5cabfa39a
parent1da26f11efa5416d9a79aa82852ed07a9a92e58a (diff)
downloadprofile-c5711526d52ed6e190c590b018602a5edd7f1f31.tar.gz
profile-c5711526d52ed6e190c590b018602a5edd7f1f31.tar.bz2
Feat: adds the .profile.d folder
-rw-r--r--profile.d.dot/placeholder.link11
-rw-r--r--profile.dot.link2
2 files changed, 12 insertions, 1 deletions
diff --git a/profile.d.dot/placeholder.link b/profile.d.dot/placeholder.link
new file mode 100644
index 0000000..ac8cf97
--- /dev/null
+++ b/profile.d.dot/placeholder.link
@@ -0,0 +1,11 @@
+#
+# Placeholder initialization script.
+#
+# This is just a placeholder file to show how the $HOME/.profile.d folde scheme works.
+#
+# Any file hosted in this folder can be sourced by a shell initialization script that
+# adopts this scheme.
+#
+
+# Do nothing, successfully
+true
diff --git a/profile.dot.link b/profile.dot.link
index c4f518c..74a301e 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -402,7 +402,7 @@ if [ -d "$HOME/.profile.d" ]; then
done
fi
- Include custom profiles
+# Include custom profiles
if [ -d "$HOME/.custom/profile.d" ]; then
scripts="`find $HOME/.custom/profile.d -type f`"