From 518798a7e9dc0481550e8a9fa9e7e846cda8680a Mon Sep 17 00:00:00 2001 From: eeemsi Date: Mon, 22 Apr 2024 21:52:45 +0200 Subject: [PATCH] fix (zshrc): avoid looping over files for sourcing them this seems to not just have performence improvements but also avoids assignments of variables --- zshrc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/zshrc b/zshrc index 36ac332..3f6d445 100644 --- a/zshrc +++ b/zshrc @@ -103,8 +103,4 @@ precmd() { } # include reading files from directory -for f in "${HOME}"/.zsh/*; do - source "$f" -done - -unset f +source "${HOME}"/.zsh/*