diff options
Diffstat (limited to '.config/shell/sources')
-rw-r--r-- | .config/shell/sources | 10 |
1 files changed, 8 insertions, 2 deletions
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 |