zsh-workers
 help / color / mirror / code / Atom feed
* Bug in compinit and list-choices?
@ 2013-03-07 20:27 joe M
  0 siblings, 0 replies; only message in thread
From: joe M @ 2013-03-07 20:27 UTC (permalink / raw)
  To: zsh-workers

Hello,

The following snippet of code in compinit:

# Rebind the standard widgets
for _i_line in complete-word delete-char-or-list expand-or-complete \
  expand-or-complete-prefix list-choices menu-complete \
  menu-expand-or-complete reverse-menu-complete; do
  zle -C $_i_line .$_i_line _main_complete
done
zle -la menu-select && zle -C menu-select .menu-select _main_complete

If I have a line (BUFFER="!7") '!7', and, I try list-choices on that
line, it automatically expands that line into the 7th history line.
Shouldn't it list the choices instead of expanding it automatically?

The above behaviour happens even when the options AUTO_LIST and
LIST_AMBIGUOUS are set or unset.

Thanks
Joe


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-07 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-07 20:27 Bug in compinit and list-choices? joe M

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).