Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Returning last parameter of a history command
- X-seq: zsh-users 10754
 
- From: Roman Neuhauser <neuhauser@xxxxxxxxxx>
 
- To: zzapper <david@xxxxxxxxxx>
 
- Subject: Re: Returning last parameter of a history command
 
- Date: Fri, 22 Sep 2006 16:48:00 +0000
 
- Cc: zsh-users@xxxxxxxxxx
 
- In-reply-to: <Xns98469866682A5zzappergmailcom@xxxxxxxxxxx>
 
- Mail-followup-to: zzapper <david@xxxxxxxxxx>, zsh-users@xxxxxxxxxx
 
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
 
- References: <Xns98469866682A5zzappergmailcom@xxxxxxxxxxx>
 
# david@xxxxxxxxxx / 2006-09-22 13:59:00 +0000:
> how should this done in zsh-speak
> 
> history -n -1|sed 's/^.* //
    !$ or alt-dot if I understand your question correctly.
-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991
Messages sorted by:
Reverse Date,
Date,
Thread,
Author