From c83e62f123ed90275ce7ec0ff35f04acb41779df Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Wed, 7 Dec 2022 19:00:51 -0800 Subject: [PATCH] Update globbing for zsh config files --- zsh/.config/zsh/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 5330f06..db6fd0e 100755 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -71,11 +71,11 @@ rgenv () { # Detect OS to autoload uncommon config files if [[ "$(uname)" =~ "Darwin" ]]; then - for dotfile in "$XDG_CONFIG_HOME"/zsh-macos/*(.); do + for dotfile in "$XDG_CONFIG_HOME"/zsh-macos/*zsh*(.); do source $dotfile done else - for dotfile in "$XDG_CONFIG_HOME"/zsh-linux/*(.); do + for dotfile in "$XDG_CONFIG_HOME"/zsh-linux/*zsh*(.); do source $dotfile done fi