From 1c2ab0d8dd06ebaf125c6090b238be9db50abffb Mon Sep 17 00:00:00 2001 From: pztrn Date: Mon, 23 Mar 2015 21:31:19 +0500 Subject: [PATCH] Fix exports loading. --- zsh/10-exports.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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