zsh-users
 help / color / mirror / code / Atom feed
From: Pier Paolo Grassi <pierpaolog@gmail.com>
To: Zsh-Users List <zsh-users@zsh.org>
Subject: Re: completion inside vared
Date: Sat, 19 Feb 2022 00:08:45 +0100	[thread overview]
Message-ID: <CAP+y1xDoZzLBAbrPyABfFizasg+PNeu3sehsL-Dg09EdqM3yYA@mail.gmail.com> (raw)
In-Reply-To: <CAP+y1xDP_=pk2+FMYpa8EV38di-XVv9R2Cynf+awZb0HUV1+=Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

does anyone has some clue as to where I can find how to do this?

Il giorno gio 17 feb 2022 alle 11:01 Pier Paolo Grassi <pierpaolog@gmail.com>
ha scritto:

> Hello, when I execute the widget _complete_help inside vared I get:
>
> tags in context :completion::complete:-value-,a,::
>     use-compctl    (_default _value _value _in_vared)
>     globbed-files  (_files _default _value _value _in_vared)
>
> I would like to modify this to only display file completion when I call
> vared from a certain function, how can I do it?
> I tried with:
> zstyle ':completion::complete:-value-*:*' completer _files
> and
> zstyle ':completion::complete:*' completer _files
> but
>  use-compctl    (_default _value _value _in_vared)
> is still there, and I get various completion suggestion that aren't files
> (or folders) in the current directory, such as environment variable names,
> executable names, etc
>
> thanks
>
> Pier Paolo Grassi
>
-- 
Pier Paolo Grassi

[-- Attachment #2: Type: text/html, Size: 1696 bytes --]

  reply	other threads:[~2022-02-18 23:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-17 10:01 Pier Paolo Grassi
2022-02-18 23:08 ` Pier Paolo Grassi [this message]
2022-02-18 23:39   ` Bart Schaefer
2022-02-19 17:27     ` Pier Paolo Grassi
2022-02-21 19:27       ` Bart Schaefer
2022-02-21 21:55         ` Pier Paolo Grassi
2022-03-11 17:37           ` Pier Paolo Grassi

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=CAP+y1xDoZzLBAbrPyABfFizasg+PNeu3sehsL-Dg09EdqM3yYA@mail.gmail.com \
    --to=pierpaolog@gmail.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).