5 ms·
If you are working on a complex, long command pipeline, in bash you can use Ctrl-x Ctrl-e to open your $EDITOR to edit the line as needed. The commands will be
by raimue 7y ago
If you are working on a complex, long command pipeline, in bash you can use Ctrl-x Ctrl-e to open your $EDITOR to edit the line as needed. The commands will be executed as soon as you save the file and exit.
- achikin 7y agoAlt(Option)-e in fish does the same.
- Rebelgecko 7y agoAFAICT this doesn't work if $EDITOR includes any arguments