3 ms·
Honestly, all these shells are too simple or at least too generic-task oriented. For me, and I guess most users, the shell is not where I live, but where I do r
by wruza 5y ago
Honestly, all these shells are too simple or at least too generic-task oriented. For me, and I guess most users, the shell is not where I live, but where I do recipes. It would be nice to have a shell+vim style shell where you edit your command plan and can see its execution results right below the commands after pressing <C-CR>:
### cwd: /some/path
cd /home/user/mysvc
…
cd /etc/systemd/system
…
sudo ln -s /path/to/mysvc.service
…
git pull
…
sudo systemctl restart mysvc
…
tail -f /path/to/log.txt #! lines=10 nowrap autorun
…(10 lines)
So you could move and edit pages (or OBTF) of recipes and see their status right there. My observation is that all you do in a shell is following some patterns again and again. For example, select last three commands and hit C-CR to execute them.
- Tyr42 5y agoI agree, but I got pretty far towards this when I got fzf's ctrl+r replacement to search history quite nicely. Before I used to also have a per folder history file, so I could pull up the last thing I did there. That also helped a lot, especially when switching between different personal projects and forgetting how it all works.