Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: About insert-last-word and "command args | less"
- X-seq: zsh-users 10884
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: About insert-last-word and "command args | less"
- Date: Sun, 15 Oct 2006 23:14:57 +0200
- In-reply-to: <061015114944.ZM32631@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20061014115617.GA28997@xxxxxxxxxxxxxxxxxxx> <061014142741.ZM22567@xxxxxxxxxxxxxxxxxxxxxx> <20061015005019.GJ28997@xxxxxxxxxxxxxxxxxxx> <061014210451.ZM22937@xxxxxxxxxxxxxxxxxxxxxx> <20061015103925.GK28997@xxxxxxxxxxxxxxxxxxx> <061015114944.ZM32631@xxxxxxxxxxxxxxxxxxxxxx>
On 2006-10-15 11:49:43 -0700, Bart Schaefer wrote:
> Maybe what you really want here is not smart-insert-last-word, but a
> variant of _history_complete_word that considers only the rightmost
> "interesting" word of each command in the history?
Perhaps (not sure if smart-insert-last-word was supposed to do that).
Also, I've seen another bug in smart-insert-last-word: When I recall
a previous history line, e.g. with up-line-or-history or with
history-incremental-search-backward, then kill the last word and use
insert-last-word, instead of getting the last word of the lastest
history line, I get the last word of the history line that was
entered just before the recalled history line.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author