zsh-users
 help / color / mirror / code / Atom feed
From: "Mika Borner" <Mika.Borner@clariden.com>
To: <zsh-users@sunsite.dk>
Subject: Substring completion
Date: Tue, 15 Aug 2006 08:54:34 +0200	[thread overview]
Message-ID: <44E18BCA0200001A00006637@zh02.cbintra.net> (raw)

Hi

I just started to use zsh, so this might sound like a newbie question.
I searched with google for a solution,  but could not find anything.
Here's my problem:

I'm trying to write a completion. All the possible arguments are in a
predefined array. Because the elements are quite complex, I want to have
a completion that works  by giving a substring of an element. All the
completions that I've found so far (e.g. file completion), demand that
the completion starts from the first letter.

 Is there a utility function to acomplish this? The man pages are
"quite" complex, so I might have overlooked something...

//Mika

# mv Disclaimer.txt /dev/null


-------------------------------------------------------------------------
This message is intended for the addressee only and may
contain confidential or privileged information. If you
are not the intended receiver, any disclosure, copying
to any person or any action taken or omitted to be taken
in reliance on this e-mail, is prohibited and may be un-
lawful. You must therefore delete this e-mail.
Internet communications may not be secure or error-free
and may contain viruses. They may be subject to possible
data corruption, accidental or on purpose. This e-mail is
not and should not be construed as an offer or the
solicitation of an offer to purchase or subscribe or sell
or redeem any investments.
-------------------------------------------------------------------------


             reply	other threads:[~2006-08-15  6:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-15  6:54 Mika Borner [this message]
2006-08-15  8:01 ` sac

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=44E18BCA0200001A00006637@zh02.cbintra.net \
    --to=mika.borner@clariden.com \
    --cc=zsh-users@sunsite.dk \
    /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).