diff --git a/bin/pgenv b/bin/pgenv index 06ec738..693ab59 100755 --- a/bin/pgenv +++ b/bin/pgenv @@ -2,7 +2,7 @@ # # VERSION # -PGENV_VERSION="1.3.0" +PGENV_VERSION="1.3.1" # https://stackoverflow.com/a/19622569/79202 trap 'exit' ERR @@ -629,7 +629,7 @@ pgenv_configuration_write_variable(){ if [ -z "$value" ]; then echo -n "#" >> "$file" fi - echo "${name}='${value}'" >> "$file" + echo "export ${name}='${value}'" >> "$file" fi echo >> "$file" }