Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] insert-last-word gets stuck at comments
- X-seq: zsh-workers 49193
- From: Frederick Eaton <frederik@xxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [BUG] insert-last-word gets stuck at comments
- Date: Mon, 26 Jul 2021 00:06:54 -0700
- Archived-at: <https://zsh.org/workers/49193>
- List-id: <zsh-workers.zsh.org>
- Reply-to: frederik@xxxxxxx
Hello Zsh Workers,
This may be a somewhat minor bug, but I think that when
interactive_comments is set, the 'insert-last-word' widget gets stuck
on lines that are fully commented:
$ zsh -f -i
% setopt interactive_comments
% echo hi #comment
hi
% # blah blah
% echo bye #comment
bye
% echo foo
foo
% echo <Esc>.<Esc>.<Esc>.
I would have expected to see "echo hi" after the command line prompt
at this point, but I see "echo bye".
zsh 5.8 (x86_64-pc-linux-gnu)
Thanks!
Frederick
Messages sorted by:
Reverse Date,
Date,
Thread,
Author