summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-12-27 19:04:23 +0100
committertv <tv@shackspace.de>2014-12-27 19:04:23 +0100
commitb009e3da65dde8b006e3a4af283fe14d24e71587 (patch)
treee66262d3334e1b457ad3ab52c2df0459167d476c
parent2fe055f86673816330b75b7e100c4a8391813bc6 (diff)
-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"