aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.exports5
1 files changed, 5 insertions, 0 deletions
diff --git a/.exports b/.exports
index 79d32d5..436e113 100644
--- a/.exports
+++ b/.exports
@@ -1,6 +1,11 @@
# Make vim the default editor.
export EDITOR='vim';
+# Enable persistent REPL history for `node`.
+NODE_REPL_HISTORY_FILE=~/.node_history;
+# Allow 32³ entries; the default is 1000.
+NODE_REPL_HISTORY_SIZE='32768';
+
# Increase Bash history size. Allow 32³ entries; the default is 500.
export HISTSIZE='32768';
export HISTFILESIZE="${HISTSIZE}";