Is it possible to escape a space for input on a command? I want to do this:!git\ cloneI love using ! to run past commands but not being able to use the space often limits the functionality.
How do I escape spaces when using bash history interaction?
bash;command history;escape characters
You can use!?git cloneFrom man bash: !?string[?]Refer to the most recent command preceding the current position in the history list containing string.  The trailing ? may be omitted if string is followed immediately by a newline.Also try Alt + . that repeats the last argument of the previous command (and pressing it again moves to the preceding command), and Alt + Ctrl + y which repeats the first argument of the previous command, or n-th if preceded by Alt + n.