diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index afc7ca6..8ff0410 100755 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -62,13 +62,12 @@ mkcd() { autoload -Uz mkcd # Detect OS to autoload uncommon config files -if [[ "$(uname)" == "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 - 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 + for dotfile in "$XDG_CONFIG_HOME"/zsh-linux/*(.); do source $dotfile done fi diff --git a/zsh/.zprofile b/zsh/.zprofile new file mode 100644 index 0000000..e69de29 diff --git a/zsh/.zshenv b/zsh/.zshenv new file mode 100644 index 0000000..e69de29