-
Notifications
You must be signed in to change notification settings - Fork 649
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REPL: Load and write history to file (#49)
Summary: Use libreadline to load and write command history to file. By default the history is written to `~/.hermes_history' and is created when does not exists. I was not able to resolve the full path, so I had to check the home directory and append to `.hermes_history`. Pull Request resolved: #49 Test Plan: run the repl; run some commands; run the repl again. verify history works. look at the ~/.hermes_history file Reviewed By: avp Differential Revision: D16367773 Pulled By: mhorowitz fbshipit-source-id: 48b053a1c95d7dcd29709860ff43aab8035b1344
- Loading branch information
1 parent
b3ac8b5
commit f2d9a98
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters