This is hilarious to me, after using the evil things for years . Of course, there are reasons to use the hated postman and companies (may they be forever cursed). And I plan to keep using them.
But many valid points are made
This is hilarious to me, after using the evil things for years . Of course, there are reasons to use the hated postman and companies (may they be forever cursed). And I plan to keep using them.
But many valid points are made
The only point I can say is that editing text on the terminal isn’t as simple as a regular text field. And AFAIK the only way to write a query on a regular text editor would be to write it, save to file, run file…
I find that if your command is complex enough that editing it on the terminal becomes annoying, then there’s a very high chance you want it in a file anyways, just to document what you did and to allow easily re-running it.
Having said that, you can also have your shell open the command in your editor of choice: https://www.stefanjudis.com/today-i-learned/edit-long-shell-commands-in-your-usdeditor/
Pressing C-x C-e opens the current commandline in your default editor.
As in what’s in your $EDITOR variable. If you haven’t touched it, it’s most likely Nano or some minimal vim
Couldn’t you write in the text editor then copy/paste into terminal without saving? (Who needs documentation anyway)
I write in Notepad++ then copy paste to WSL.