Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Picking parameters from last but one command
- X-seq: zsh-workers 23093
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Picking parameters from last but one command
- Date: Sun, 7 Jan 2007 17:45:00 +0000 (UTC)
- Cc: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: SuccessTheory
- References: <Xns98B0C395F8C8Ezzappergmailcom@xxxxxxxxxxx> <20070106194204.GB10778@princo>
- Sender: news <news@xxxxxxxxxxxxx>
Jean-Rene David <jrdavid@xxxxxxxx> wrote in news:20070106194204.GB10778
@princo:
> * zzapper [2007.01.06 14:15]:
>> >ls fred.txt
>> >cp joe sid
>> >vi LP (where LP picks up fred.txt)
>>
>> Better way?
>
> Perhaps:
>
> vi !-2:$
>
Yep I guess that's cool (and I know that very well, must have had a blond
moment) and pretty much invalidates what I was trying to do , just a bit of a
pain to type
--
zzapper
http://successtheory.com/tips/ Vim, Zsh, MySQL Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author