I can only speak for myself, but I'm going to press ⬆️ a dozen times before I retype a 10 character command. ♻️ @roobre Dumb shell question: Is there a magic readline/bash/shell shortcut that allows me to "stash & clear" a command I've partially written so I can run something else, and then continue later?
E.g. when I'm writing a lengthy cp
command and midway I realize I have yet to mkdir the dest dir.
eshep likes this.
eshep
in reply to GNU Too • •Ctrl-a
, then prepend my fuckup with a simple resolution such asmkdir <cpdest> &&
is usually my goto solution.