fix (zshrc): avoid looping over files for sourcing them

this seems to not just have performence improvements but also avoids assignments of variables
This commit is contained in:
eeemsi 2024-04-22 21:52:45 +02:00
parent a55bf30b34
commit 518798a7e9
1 changed files with 1 additions and 5 deletions

6
zshrc
View File

@ -103,8 +103,4 @@ precmd() {
}
# include reading files from directory
for f in "${HOME}"/.zsh/*; do
source "$f"
done
unset f
source "${HOME}"/.zsh/*