Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion files sensitive to user options like RC_QUOTES
- X-seq: zsh-workers 40105
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: completion files sensitive to user options like RC_QUOTES
- Date: Tue, 6 Dec 2016 08:57:22 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=lLxqlmBhg4W/mAdS9y6vJfhMH5C61Mcgzrw/tP5VHy8=; b=tM7im1x1Ohf8HfS682saC/kTtdu/87WIkmYLYeUxee+BpHFtjelYU9aBlFJpUSnmsY XDDRElrg70UXF7yR/L0sSJ7F6TFVsvPqUkZdepPOmuSNSFdp/h/9IqEeFCYr5OtcscNv 1GhHuRZ2RdZWmh8Z7qz5zsiLR8Allk7/WuNMFdSi7zrCFGSkEdUqQ2tFatev5pPufMmq 6TkZ2e77+GEatItQ9cJznnWEUkJXuhu73t7dhwIgLnOYNpjAe/QeRY3taXzEhLaHW9Cd Um0kUOx+d1sJE34tFJ15qmbzxgYhuNYG5MfUIysgyvHCBcOpgRvmmwcMgeXC5nS/cLai Jc3g==
- In-reply-to: <20161206142754.GA12824@cventin.lip.ens-lyon.fr>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20161206142754.GA12824@cventin.lip.ens-lyon.fr>
On Dec 6, 3:27pm, Vincent Lefevre wrote:
}
} I wonder whether it is expected that completion files are sensitive
} to user options.
The intention is that completion files will be auto-loaded from the
completion system after _main_complete has started, where they will be
affected by the set of options that it controls.
RC_QUOTES is a tricky one. We could do this --
diff --git a/Completion/compinit b/Completion/compinit
index 6612bac..7cb65d5 100644
--- a/Completion/compinit
+++ b/Completion/compinit
@@ -153,6 +153,7 @@ _comp_options=(
NO_markdirs
NO_octalzeroes
NO_posixbuiltins
+ NO_rcquotes
NO_shwordsplit
NO_shglob
NO_warncreateglobal
-- but then expansions of strings the user has typed on the command
line might be handled differently.
If you can verify that the above doesn't break any of your interactive
expectations, I can commit it.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author