Skip to content

Commit

Permalink
Removing funciton and -r from declare#32
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmysun committed Aug 26, 2024
1 parent 985e3a8 commit 19a7756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/load_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Will not overwrite existing variables.
# Will read from $HOME/.ellrc, $PWD/.ellrc, and $ELL_CONFIG

function load_config() {
load_config() {
logging_debug "Storing current environment";
current_env=$(declare -p -x | sed -e 's/declare -x /export /');
set -o allexport;
Expand Down Expand Up @@ -34,4 +34,4 @@ function load_config() {
set +o allexport;
}

export -f load_config;
export load_config;

0 comments on commit 19a7756

Please sign in to comment.