|
|
|
|
|
by andrewaylett
4594 days ago
|
|
Ctrl-X Ctrl-E in bash will open an editor for the current command, which is executed when the editor is exited. After the potential for exploit was publicised a few months ago, I use this every time and it's really not much more effort than just pasting into the shell. As a bonus, it means I don't have to worry about embedded newlines stopping me from tweaking the command before running it. |
|
(Tested it with the combination chromium+xterm+vim.)