3 ms·
But you do have command history, it's just not in your shell, because the shell is the not right place to put it. The windowing system exposes all the history a
by 4ad 13y ago
But you do have command history, it's just not in your shell, because the shell is the not right place to put it. The windowing system exposes all the history as a text file, so you can use scripts that use this text file or write your own. I already mentioned " and "" in another comment. In particular, to reexecute previous command I'd just type "".
As for using text editors. Yes, in Plan 9 this is actually feasible and it's a widely used idiom. What makes it so much easier is that I can just middle-click or middle-swipe on anything inside the editor, and it would execute. So yeah, I can just type commands and edit them. When I B2 on them they will run.
Please see this excellent introduction to acme by Russ Cox: http://research.swtch.com/acme http://research.swtch.com/acme