Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug in compinit and list-choices?
- X-seq: zsh-workers 31127
- From: joe M <joe9mail@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Bug in compinit and list-choices?
- Date: Thu, 7 Mar 2013 15:27:46 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=UEv9tcRcYdnwxcQfhhnMkobNjBcVeSxRwhNAC7LyxR8=; b=SjBtgp+5BP0KWJ5vqVE72g2UbH4yXW+UGoZKW3/Idv2ieUn6aYTb5d5kElHg9wQ2z4 BPir3c42oMEUeG2Gp/CLIvZRAgYyBts2dtjMsuwWFojtHWLzNpD2qTAjFn3nTcSY26Hd IAXuf2XvY9gnDEW3AxBwm8i6ji48GW1WoiA7f2mB7e2Zkef6nO/5l9B9OL6B8ql5KXaT Wu7x+sMzYsSmpneAG0qHNj4tJxzd9334ryjv+w6k7HWZQAbC4YHVu2OiaghlF2/mj1iJ cvNN/4a8jbKRY8xyHyynWqYrQ0A7sFa0snVIUoD0AjJ7LYfIHiGpZrP1bdqgH4guFfm1 ofxQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author