Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Shell options during completion?
- X-seq: zsh-users 14808
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Shell options during completion?
- Date: Sun, 07 Feb 2010 18:55:34 +0000
- In-reply-to: Message from "Benjamin R. Haskell" <zsh@xxxxxxxxxx> of "Sun, 07 Feb 2010 13:37:02 EST." <alpine.LNX.2.01.1002071325000.2729@xxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
"Benjamin R. Haskell" wrote:
> Are completion functions called with some consistent set of shell
> options?
It's the set _comp_options you'll find in the compinit function.
Note this doesn't reset the options, it sets only the values given, so
some options set by the user are passed through. There may be more that
shouldn't be (typically those affecting syntax); if you need some
special behaviour for one function you can "setopt localoptions
<that-option>".
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author