Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Returning last parameter of a history command



# 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