-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
replrelated to the Read-Eval-Print-Loop functionality of Denorelated to the Read-Eval-Print-Loop functionality of Denosuggestionsuggestions for new features (yet to be agreed)suggestions for new features (yet to be agreed)
Description
A fairly common practice with REPL interfaces is to allow the location of the history file to be changed with an environment variable. This allows users to put their history in tmpfs to be cleared on shutdown or disable saving between sessions entirely by pointing towards /dev/null
or an empty path. This kind of configuration is particularly useful when experimenting with API tokens or other secrets interactively, where ideally they should never touch the disk. I suggest adding an environment variable named DENO_REPL_HISTORY
(based on Node's own feature) or similar to specify a custom history file path.
Metadata
Metadata
Assignees
Labels
replrelated to the Read-Eval-Print-Loop functionality of Denorelated to the Read-Eval-Print-Loop functionality of Denosuggestionsuggestions for new features (yet to be agreed)suggestions for new features (yet to be agreed)