diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index ff0c4cf..afc7ca6 100755 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -62,11 +62,10 @@ mkcd() { autoload -Uz mkcd # Detect OS to autoload uncommon config files -if [[ "$(uname -a)" == "Darwin" ]]; then - for dotfile in "${XDG_CONFIG_HOME}"/zsh-macos/**/*; do +if [[ "$(uname)" == "Darwin" ]]; then + for dotfile in "${XDG_CONFIG_HOME}"/zsh-macos/**/*(.); do source $dotfile done - [ -f "${ZDOTDIR}/conf.d/fzf.zsh" ] && source "${ZDOTDIR}/conf.d/fzf.zsh" test -e /Users/etorres/.config/zsh/.iterm2_shell_integration.zsh && source /Users/etorres/.config/zsh/.iterm2_shell_integration.zsh || true else for dotfile in "${XDG_CONFIG_HOME}"/zsh-linux/**/*; do diff --git a/zsh/.config/zsh/conf.d/README b/zsh/.config/zsh/conf.d/README index 515de47..249fe22 100644 --- a/zsh/.config/zsh/conf.d/README +++ b/zsh/.config/zsh/conf.d/README @@ -1 +1 @@ -This directory (zsh) contains files that are common between all OS installations +# This directory (zsh) contains files that are common between all OS installations