zsh-users
 help / color / mirror / code / Atom feed
* Complete with *part* not part*
@ 2016-02-12 11:48 Sebastian Gniazdowski
  2016-02-12 15:39 ` Mikael Magnusson
  0 siblings, 1 reply; 8+ messages in thread
From: Sebastian Gniazdowski @ 2016-02-12 11:48 UTC (permalink / raw)
  To: Zsh Users

Hello,
when completing, entering "l"<TAB> will complete say "ls", "lsof",
etc.. How to make "s"<TAB> complete ls, lsof, etc. ?

I'm completing long names – names of plugins:
            plugins=( "$ZPLG_PLUGINS_DIR"/*(N:t) )
            _wanted plugins expl "Plugins" \
                compadd "$@" -a - plugins && ret=0

want it be that "part" of plugin names will be completed not only as
part* but also as *part*.

Best regards,
Sebastian Gniazdowski


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

end of thread, other threads:[~2016-02-12 19:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-12 11:48 Complete with *part* not part* Sebastian Gniazdowski
2016-02-12 15:39 ` Mikael Magnusson
2016-02-12 16:01   ` Bart Schaefer
2016-02-12 16:11     ` Sebastian Gniazdowski
2016-02-12 17:16       ` Bart Schaefer
2016-02-12 17:29         ` Sebastian Gniazdowski
2016-02-12 19:14           ` Bart Schaefer
2016-02-12 17:19       ` Sebastian Gniazdowski

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