Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repl: persist in plain text, save to home tmp directory by default #2224

Closed
wants to merge 5 commits into from

Commits on Aug 4, 2015

  1. repl: fix persistent history size limiting

    Since slice does not mutate the array, the history was never truncated.
    
    PR-URL: nodejs#2224
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Fishrock123 committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    da336e4 View commit details
    Browse the repository at this point in the history
  2. repl: persist history in plain text

    Persists the REPL history in plain text using the new NODE_REPL_HISTORY
    environment variable. Deprecates NODE_REPL_HISTORY_FILE. The REPL will
    notify the user and automatically convert the history to the new format
    if files are specified.
    
    PR-URL: nodejs#2224
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Fishrock123 committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    39eb22a View commit details
    Browse the repository at this point in the history
  3. repl: default persistence to ~/.node_repl_history

    Makes the REPL persistently save history by default to
    ~/.node_repl_history when in terminal mode.
    This can be disabled by setting NODE_REPL_HISTORY="".
    
    PR-URL: nodejs#2224
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Fishrock123 committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    7776ccb View commit details
    Browse the repository at this point in the history
  4. test: add tests for persistent repl history

    PR-URL: nodejs#2224
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Fishrock123 committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    9288067 View commit details
    Browse the repository at this point in the history
  5. doc: document repl persistent history changes

    PR-URL: nodejs#2224
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Fishrock123 committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    3acf17d View commit details
    Browse the repository at this point in the history