From 2f3d4bd1300960b47f44f4403e1cd390ed1cb2b1 Mon Sep 17 00:00:00 2001 From: Christophe Aguettaz Date: Fri, 23 Nov 2018 22:59:19 +0100 Subject: [PATCH] [cleanup] Added missing global variable cleanup --- lib/helpers.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/helpers.bash b/lib/helpers.bash index bb592bab..9c3e53f7 100644 --- a/lib/helpers.bash +++ b/lib/helpers.bash @@ -51,7 +51,9 @@ function _make_reload_alias() { _list_bash_it_files '"$1"' ;\ for _bash_it_config_file in "${_bash_it_list_bash_it_files_return[@]}"; do \ . "$_bash_it_config_file" ;\ - done' + done ;\ + unset _bash_it_list_bash_it_files_return ;\ + unset _bash_it_config_file' } # Alias for reloading aliases