zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Andy Spiegl <zsh.Andy@spiegl.de>, zsh-users@sunsite.dk
Subject: Re: trying completion of varying data
Date: Sat, 1 Jun 2002 20:26:12 +0000	[thread overview]
Message-ID: <1020601202612.ZM9140@candle.brasslantern.com> (raw)
In-Reply-To: <20020531225024.A17033@radiomaranon.org.pe>

To add to what Clint suggested ...

On May 31, 10:50pm, Andy Spiegl wrote:
}
} Looking at these working examples:
}  zstyle ':completion:*:*:mpg123:*' file-patterns \
}   '*.(mp3|MP3):mp3\ files *(-/):directories'
} 
}  zstyle ':completion:*:processes' command 'ps -au$USER'
} 
} I tried
}  zstyle ':completion:*:*:xvncviewer:*' command 'show.active.pcs'
}       (where show.active.pcs does the above)

Don't just look at the examples, look at the doc.  Not all contexts use
all styles.  In particular, the "command" style is only used to override
the default match-generating command for completions that already use
such a command; it won't magically cause an arbitrary completion to start
using a command to generate the matches.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


      parent reply	other threads:[~2002-06-01 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-01  3:50 Andy Spiegl
2002-06-01 14:33 ` Clint Adams
2002-06-02  3:44   ` Andy Spiegl
2002-06-02  5:58     ` Bart Schaefer
2002-06-01 20:26 ` Bart Schaefer [this message]

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=1020601202612.ZM9140@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    --cc=zsh.Andy@spiegl.de \
    /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).