问题
Is there any keyboard which echoes to the screen the "previously executed command"? Something like the up-arrow key at Linux bash...
It's not duplicate to How do I get "previous executed command" in a bash script?
回答1:
Load XREPL and you'll get readline-style input editing, which should include the ability to load previous lines using the up-arrow key.
(require xrepl)
来源:https://stackoverflow.com/questions/15011939/racket-how-to-get-the-previous-executed-command-in-bash-script