summaryrefslogtreecommitdiffstats
path: root/load-env
diff options
context:
space:
mode:
Diffstat (limited to 'load-env')
-rwxr-xr-xload-env1
1 files changed, 1 insertions, 0 deletions
diff --git a/load-env b/load-env
index 8decea3..91c2b7b 100755
--- a/load-env
+++ b/load-env
@@ -21,6 +21,7 @@ main() {
init_env() {
# Until https://ghc.haskell.org/trac/ghc/ticket/9089 is solved,
# For a local .ghc/ghci_history:
+ export OLDHOME="$HOME"
verbose export HOME="$HOME/.env-home/$1"
mkdir -p -m 0700 "$HOME"