zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-workers@math.gatech.edu
Subject: Re: PATCH: completion with redirections
Date: Fri, 22 Jan 1999 22:26:48 -0800	[thread overview]
Message-ID: <990122222648.ZM29009@candle.brasslantern.com> (raw)
In-Reply-To: <3.0.6.16.19990122181128.2ebf7418@mail.u-net.com>

On Jan 22,  6:11pm, Oliver Kiddle wrote:
} Subject: Re: PATCH: completion with redirections
}
} I would want the command-line 'giftopnm < ' to only complete with .gif files.
} Is it already possible to do this?

Unfortunately I think completion considers a redirction operator and the
one word immediately following it to be independent of the current command.
For example, they don't show up in the array assigned by "read -Ac" in a
compctl -K function.  So at the moment you get file completion after any
redirection, and that's it.

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


  reply	other threads:[~1999-01-23  6:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-22 16:11 Sven Wischnowsky
1999-01-22 17:11 ` Oliver Kiddle
1999-01-23  6:26   ` Bart Schaefer [this message]
1999-01-25  9:00 Sven Wischnowsky
1999-01-25 13:43 Sven Wischnowsky
1999-01-25 14:01 ` Peter Stephenson
1999-01-26 17:56   ` Bart Schaefer
1999-01-26 18:05     ` Phil Pennock
1999-01-27  8:13 Sven Wischnowsky

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=990122222648.ZM29009@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@math.gatech.edu \
    /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).