mirror of
https://github.com/samsonjs/repl-edit.git
synced 2026-03-25 09:25:49 +00:00
tweaked wording in readme
This commit is contained in:
parent
ff812e2265
commit
2aa048805f
1 changed files with 5 additions and 5 deletions
10
Readme.md
10
Readme.md
|
|
@ -27,7 +27,7 @@ edit
|
||||||
|
|
||||||
The first time you run `edit()` in a repl a temporary file is created, specific to that session,
|
The first time you run `edit()` in a repl a temporary file is created, specific to that session,
|
||||||
and opened in your editor. Type away and then save and close the file when you're done. The file
|
and opened in your editor. Type away and then save and close the file when you're done. The file
|
||||||
will be loaded and executed at that time.
|
is loaded and executed immediately.
|
||||||
|
|
||||||
|
|
||||||
run
|
run
|
||||||
|
|
@ -39,20 +39,20 @@ To run whatever command you've been working on without editing it again type `ru
|
||||||
setEditor
|
setEditor
|
||||||
---------
|
---------
|
||||||
|
|
||||||
`setEditor('mate -w')` will change your editor to TextMate for this session. Note that this
|
`setEditor('mate -w')` changes your editor to TextMate for this session. Note that this
|
||||||
command changes the environment variable EDITOR for the repl process.
|
command sets the environment variable EDITOR for the repl process.
|
||||||
|
|
||||||
|
|
||||||
stash
|
stash
|
||||||
-----
|
-----
|
||||||
|
|
||||||
`stash('/path/to/a/file')` will save your command to the named file.
|
`stash('/path/to/a/file')` saves your command to the named file.
|
||||||
|
|
||||||
|
|
||||||
unstash
|
unstash
|
||||||
-------
|
-------
|
||||||
|
|
||||||
`unstash('/path/to/a/file')` will restore the contents of that file for you to run and/or edit.
|
`unstash('/path/to/a/file')` restores the contents of that file for you to run and/or edit.
|
||||||
|
|
||||||
|
|
||||||
Future
|
Future
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue