Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: completion with redirections
- X-seq: zsh-workers 4956
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: PATCH: completion with redirections
- Date: Fri, 22 Jan 1999 22:26:48 -0800
- In-reply-to: <3.0.6.16.19990122181128.2ebf7418@xxxxxxxxxxxxxx>
- References: <3.0.6.16.19990122181128.2ebf7418@xxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author