diff options
author | Mathias Bynens <mathias@qiwi.be> | 2015-05-05 14:30:54 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2015-05-05 14:33:09 +0200 |
commit | 9d30bd673c72ed1cadb2720fe4fb44a8ce915a2b (patch) | |
tree | c9a6e14a646917b4481fb55712762d5697fb0821 | |
parent | 79e415e0eda32029bdda6b44307ab589af7d66b8 (diff) | |
download | dotfiles-9d30bd673c72ed1cadb2720fe4fb44a8ce915a2b.tar.gz dotfiles-9d30bd673c72ed1cadb2720fe4fb44a8ce915a2b.tar.bz2 dotfiles-9d30bd673c72ed1cadb2720fe4fb44a8ce915a2b.zip |
.exports: Enable persistent REPL history for `node`
This works as of io.js v2.0.0.
https://github.com/iojs/io.js/blob/v2.0.0/CHANGELOG.md#2015-05-04-version-200-rvagg
-rw-r--r-- | .exports | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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}"; |