From bc26254d36c8ae059555b6c0d0e8256174a84fb6 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Wed, 11 May 2022 11:11:29 +0200
Subject: Add functions.d back to the mix
---
.config/shell/sources | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
(limited to '.config/shell/sources')
diff --git a/.config/shell/sources b/.config/shell/sources
index b3f419c..a9b11b9 100644
--- a/.config/shell/sources
+++ b/.config/shell/sources
@@ -116,7 +116,13 @@ MANPATH="/home/tyil/.local/share/man/:$MANPATH"
. "$HOME/.config/shell/aliases"
# Add custom functions
-#. "$HOME/.config/shell/functions"
+[ "${DEBUG_DOTFILES}" ] && echo " Sourcing functions.d"
+
+for f in "$HOME/.config/shell/functions.d"/*
+do
+ [ "${DEBUG_DOTFILES}" ] && echo " $f"
+ . "$f"
+done
# Load profile
if [ -f "${HOME}/.config/shell/profile" ]
@@ -135,4 +141,4 @@ if [ -f "${HOME}/.config/shell/motd" ]; then
fi
# clear terminal
-#[ "$DEBUG_DOTFILES" ] || clear
+[ "$DEBUG_DOTFILES" ] || clear
--
cgit v1.1