I'm using zsh with the oh-my-zsh framework of Robby Russell. How can I create a shortcut or something to repeat the last part of a command?
For example, if I type:
mv something in/this/difficult/to/type/directory
Is there any way to easily get this: in/this/difficult/to/type/directory
?
!
argument you can expand it out hittingtab
. – Costanzo