This is a killer feature of emacs and M-x shell for me.
Now my command history is searchable, just like any other file or buffer I have open.
I use the same idea for any repl, R,python,ruby,node,clojure. Bash is just another repl.
The major advantage of the emacs buffer method is that a lot of tasks I do on the computer span many commands. I can search for one command I remember executing 3 months ago, and then review the series of steps I took before and after, along with the output.
Typically finding a single command I've executed before doesn't help a whole lot. I need context.
Now my command history is searchable, just like any other file or buffer I have open.
I use the same idea for any repl, R,python,ruby,node,clojure. Bash is just another repl.
The major advantage of the emacs buffer method is that a lot of tasks I do on the computer span many commands. I can search for one command I remember executing 3 months ago, and then review the series of steps I took before and after, along with the output.
Typically finding a single command I've executed before doesn't help a whole lot. I need context.