zsh-users
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Announcement of Zsh Command Architect v1.0
Date: Sun, 10 Jan 2016 02:15:10 +0100	[thread overview]
Message-ID: <CAHYJk3S8bQiTiQCLiLr-gqF7Q3nuZYMhL_MbcncGuyb1i5bimg@mail.gmail.com> (raw)
In-Reply-To: <160109155417.ZM4367@torch.brasslantern.com>

On Sun, Jan 10, 2016 at 12:54 AM, Bart Schaefer
<schaefer@brasslantern.com> wrote:
> On Jan 8,  6:04pm, Sebastian Gniazdowski wrote:
> }
> } I've invoked bindkey -e, compinit and the zstyle, Alt-/ shows set of
> } words, when repeated it iterates over them. One problem: duplicates.
> } Any solution?
>
> zstyle ':completion:*:history-words' remove-all-dups true
>
> To find this you must either read comments in _history_complete_word
> or search the docs, because of the way all the styles are grouped in
> one doc section separate from all the widgets or completion functions.
>
> } Also, is it possible to select with cursor keys?
>
> You have to override the complete-word binding in the #compdef line of
> _history_complete_word, like so:
>
> compdef -K _history_complete_word \
>         _history-complete-older menu-select '\e/' \
>         _history-complete-newer menu-select '\e,'
>
> On Jan 9,  9:21am, Sebastian Gniazdowski wrote:
> } Subject: Re: Announcement of Zsh Command Architect v1.0
> }
> } PS. It completes only "The_Voice...", does not propose the other
> } segment "The\ Voice...", don't know why
>
> I'm not sure why either, because for me it works with both variations.
> What does
>
>     print -lr "${historywords[@]}" | fgrep Voice
>
> show in the context you are testing?

Perhaps he doesn't have hist_lex_words set.

-- 
Mikael Magnusson


  reply	other threads:[~2016-01-10  1:15 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-06 16:22 Sebastian Gniazdowski
2016-01-08  9:33 ` Dominik Vogt
2016-01-08  9:55   ` Sebastian Gniazdowski
2016-01-08 15:33   ` Sebastian Gniazdowski
2016-01-08 16:29   ` Mikael Magnusson
2016-01-08 17:04     ` Sebastian Gniazdowski
2016-01-09  8:21       ` Sebastian Gniazdowski
2016-01-09 23:54         ` Bart Schaefer
2016-01-10  1:15           ` Mikael Magnusson [this message]
2016-01-10  7:32             ` Sebastian Gniazdowski
2016-01-10  9:52               ` Sebastian Gniazdowski
2016-01-10 12:37                 ` Sebastian Gniazdowski
2016-01-10  6:52           ` Sebastian Gniazdowski
2016-01-10  7:20             ` Sebastian Gniazdowski
2016-01-10 19:55               ` history-words (Re: Announcement of Zsh Command Architect v1.0) Bart Schaefer
2016-01-08 23:16   ` Announcement of Zsh Command Architect v1.0 Bernd Steinhauser
2016-01-09  4:24   ` Bart Schaefer
2016-01-09 17:21 ` jrun
2016-01-10 13:55   ` Sebastian Gniazdowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHYJk3S8bQiTiQCLiLr-gqF7Q3nuZYMhL_MbcncGuyb1i5bimg@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).