diff --git a/zsh/10-exports.zsh b/zsh/10-exports.zsh index 2974373..d313b6e 100644 --- a/zsh/10-exports.zsh +++ b/zsh/10-exports.zsh @@ -6,7 +6,7 @@ done # We should import user-specific exports and use them. if [ -d ${HOME}/.zsh-config.d/exports ]; then for config_file in `find ${HOME}/.zsh-config.d/exports -type f -exec basename {} \; | sort`; do - if [ -f ${config_file} ]; then + if [ -f "${HOME}/.zsh-config.d/exports/${config_file}" ]; then source "${HOME}/.zsh-config.d/exports/${config_file}" fi done