When I start working on my project, I need to run lots of processes. Currently, I have to launch each process in a manual way:
M-x multi-term RET
M-x rename-buffer RET *some-name* RET
cd ~/foo/bar/
python ./task.py
How to write a code on Emacs lisp that does the following steps:
- opens new multi-term buffer;
- renames it (I know the title I'd like to hardcode it for each process);
- runs one or two commands inside terminal