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