From 38b0a1c88535fd87d664902238f1462331769497 Mon Sep 17 00:00:00 2001 From: Christophe Aguettaz Date: Fri, 23 Nov 2018 22:50:05 +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