[SOLVED] What's an easy way to edit a multiline bash command?
Hello there :)
As far as I know (searched through the web), editing/navigating a multiline in bash is not possible and opening nano, pasting and editing is to much friction I want to get rid off.
Personally if its just a bash command then I dont bother with formatting and just do one-liners. If I want it to look pretty then I’ll put it in a script. If I need to edit something you can use shortcuts like these to jump around the command line to edit whatever you need
It's not about looking pretty, I like to navigate freely like CTRL-E, CTRL-A, ALT-B, ALT-F... speeds up the process and is frictionless (like your link suggests it :P). Sometimes I copy/past an already written command in the CLI with multilines and not being able to navigate thourgh them is frustrating !