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

Re: About insert-last-word and "command args | less"



On Oct 15, 12:39pm, Vincent Lefevre wrote:
}
}   * to skip a history line when all its words match the pattern?
}   * to always get a word that wasn't proposed before (when one uses
}     ^]_ several times) by skipping history lines when needed?

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?



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