From 6c1b96a4d3485fdb28b62f00336ee7be3954a57f Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sun, 24 Jul 2011 22:08:32 -0500 Subject: [PATCH] Do not export tracking variable: it only makes sense in the current context, and subshells may need to load bash-config too --- bash-config/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-config/common b/bash-config/common index fb63176..e34f1c3 100644 --- a/bash-config/common +++ b/bash-config/common @@ -3,7 +3,7 @@ # Keep track of which config set is loaded, to avoid loading a config set more than once if [ -z "${__BASH_CONFIG_LOADED}" ] || echo "${__BASH_CONFIG_LOADED}" | grep -qv " ${_self} " then - export __BASH_CONFIG_LOADED="${__BASH_CONFIG_LOADED} ${_self} " + __BASH_CONFIG_LOADED="${__BASH_CONFIG_LOADED} ${_self} " # Interactive shell? _i() { [[ $- == *i* ]]; return $?; } -- 2.42.0