aboutsummaryrefslogtreecommitdiffstats
path: root/.exports
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2015-10-18 09:46:16 -0400
committerMathias Bynens <mathias@qiwi.be>2015-10-18 09:46:16 -0400
commit6739605aded957ad1f0b4682d03033b76d372bba (patch)
tree25b70b8c513cff94741e05e81d30870026c9e8dc /.exports
parent2fe242baf2ca3c9de269120746429188a1e99ef8 (diff)
downloaddotfiles-6739605aded957ad1f0b4682d03033b76d372bba.tar.gz
dotfiles-6739605aded957ad1f0b4682d03033b76d372bba.tar.bz2
dotfiles-6739605aded957ad1f0b4682d03033b76d372bba.zip
.exports: Update Node environment variables
Thanks to @alrra for the heads up in https://github.com/mathiasbynens/dotfiles/commit/9d30bd673c72ed1cadb2720fe4fb44a8ce915a2b#commitcomment-13835031.
Diffstat (limited to '.exports')
-rw-r--r--.exports4
1 files changed, 3 insertions, 1 deletions
diff --git a/.exports b/.exports
index 763c0ba..e249e18 100644
--- a/.exports
+++ b/.exports
@@ -2,9 +2,11 @@
export EDITOR='vim';
# Enable persistent REPL history for `node`.
-export NODE_REPL_HISTORY_FILE=~/.node_history;
+export NODE_REPL_HISTORY=~/.node_history;
# Allow 32³ entries; the default is 1000.
export NODE_REPL_HISTORY_SIZE='32768';
+# Use sloppy mode by default, matching web browsers.
+export NODE_REPL_MODE='sloppy';
# Increase Bash history size. Allow 32³ entries; the default is 500.
export HISTSIZE='32768';