Racket - how to get the “previous executed command” in bash script?

半城伤御伤魂 提交于 2019-12-10 14:43:09

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!