zsh-users
 help / color / mirror / code / Atom feed
* completion inside vared
@ 2022-02-17 10:01 Pier Paolo Grassi
  2022-02-18 23:08 ` Pier Paolo Grassi
  0 siblings, 1 reply; 7+ messages in thread
From: Pier Paolo Grassi @ 2022-02-17 10:01 UTC (permalink / raw)
  To: Zsh-Users List

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

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-03-11 17:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-17 10:01 completion inside vared Pier Paolo Grassi
2022-02-18 23:08 ` Pier Paolo Grassi
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

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).