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

Re: refering to 2nd from last history parameter?



[>workers]

On Jan 26, 12:16pm, Peter Stephenson wrote:
}
} We could special case the meaning here: given that ranges have to be in
} order, a range starting with "$" is by definition useless.  It's a bit
} kludgy but this is !-history so it's hard to imagine anyone looking for
} elegance.  Does this break anything?

I don't think it does ... even !$-0 yields "no such word in event" so
assigning a meaning to it won't interfere with anything previously
usable.



Messages sorted by: Reverse Date, Date, Thread, Author