Originally published at hoelz.ro
A common pattern in my shell usage is something like this:
$ mkdir a-directory-name
$ cd !$
Enter f...
For further actions, you may consider blocking this person and/or reporting abuse
I know it's not addressing the crux of your post, but
Alt-.
does the last word on the previous command.So I do:
and I am happy :)
Yeah,
Alt-.
is a great alternative to!$
!