From 9c000263ac60508a4979395889fc9d87cb716648 Mon Sep 17 00:00:00 2001 From: eeemsi Date: Fri, 21 Jul 2023 10:02:12 +0200 Subject: [PATCH] feat (zshrc): instead of sourcing files individually just do so with files from a certain directory --- zshrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 61e24c1..9525173 100644 --- a/zshrc +++ b/zshrc @@ -101,4 +101,9 @@ precmd() { fi } -source ~/.zsh/term_title +# include reading files from directory +for f in "${HOME}"/.zsh/*; do + source "$f" +done + +unset f