5

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?

nbro
  • 13,796
  • 25
  • 99
  • 185
URL87
  • 10,028
  • 35
  • 102
  • 167

1 Answers1

8

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)
Barmar
  • 669,327
  • 51
  • 454
  • 560