Shell-fu
Chris Devers
cdevers at pobox.com
Wed Feb 23 17:40:56 GMT 2011
On Wed, Feb 23, 2011 at 12:17 PM, David Cantrell <david at cantrell.org.uk>
wrote:
> $ svn add lib/Hlagh/Blagh.pm
> ...
> $ svn commit
> ...
> $ vi !($^*%*$
>
> What line-noise should I type to get the last argument to the command
> two steps back in my history? Obviously I only care about bash.
>
Is it too hard to just do
<up><up><^a><^d><^d><^d>vi<enter>
?
There's probably a Cleverer™ way to do this, but this approach works for
me.
--
Chris Devers
More information about the london.pm
mailing list