From 6739605aded957ad1f0b4682d03033b76d372bba Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Sun, 18 Oct 2015 09:46:16 -0400 Subject: .exports: Update Node environment variables Thanks to @alrra for the heads up in https://github.com/mathiasbynens/dotfiles/commit/9d30bd673c72ed1cadb2720fe4fb44a8ce915a2b#commitcomment-13835031. --- .exports | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'; -- cgit v1.2.3