Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: completion of options to builtins
- X-seq: zsh-workers 41965
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: PATCH: completion of options to builtins
- Date: Mon, 30 Oct 2017 23:38:09 +0100
- Authentication-results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.co.uk
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1509403092; bh=/isxsteSOj13yvG+OGTUMBAtcPdvaonSXX5pUM7w2zM=; h=From:To:Subject:Date:From:Subject; b=S6ysa/zNButj7lNOa2eaW91LEHxklz4BUaOUovob6Py1ywh7FO20Ck5NSTOpAII8cJmnxw9a7xS7NmpD6oj8244loN81NIwAT/sOW3dgyTnw+y/UH1grPLLAWVwJWcMvDHuXfuvFCQE5nuodu4NxNfCyFlgVJsvHaIxt/j13IV2MeB5FVRNLynGJHaYj9Kaqdpa8eJDWYle8p8Bxjj+/P8+JR+57yWlD3p+SNkMLCED3jccrMFx9Ef+8FsvP1qRLO7VVqiEL9MJBnNKvb+yOSwjjeJ0YUsGLs8lWvDiYLoz5gEQmp01388hgdYhsutTvhYuBUwjl6aw5w/5nkZ91IQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Completion function updates got missed when zmodload and the functions
builtins each gained an option.
Oliver
diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset
index fb9e3ab5e..e4446a6ff 100644
--- a/Completion/Zsh/Command/_typeset
+++ b/Completion/Zsh/Command/_typeset
@@ -41,6 +41,7 @@ allargs=(
uf '-u[mark function for autoloadling]'
up '-u[convert the value to uppercase]'
w '(-k -z)-w[specify that arguments refer to files compiled with zcompile]'
+ W '-+W[turn on WARN_NESTED_VAR for function]'
x "($fopts)-+x[export parameter]"
z "($popts -k -w)-+z[mark function for zsh-style autoloading]"
)
@@ -54,7 +55,7 @@ case ${service} in
;;
float) use="EFHghlprtux";;
functions)
- use="UkmTtuzM"
+ use="UkmTtuzMW"
func=f
allargs[M]='(-k -t -T -u -U -z -M +M +k +t +z)-+M[define mathematical function]'
;;
diff --git a/Completion/Zsh/Command/_zmodload b/Completion/Zsh/Command/_zmodload
index 57fb990e9..31163eb72 100644
--- a/Completion/Zsh/Command/_zmodload
+++ b/Completion/Zsh/Command/_zmodload
@@ -17,6 +17,7 @@ _arguments -n -C -S -s \
'(-u -b -c -d -p -f -A -R -I)-F[handle features]' \
'(-u -b -c -d -p -f -A -R -I)-m[treat feature arguments as patterns]' \
'(-d -e)-i[suppress error if command would do nothing]' \
+ '(-d -e -L)-s[suppress error if module is not available]' \
'(-b -c -d -p -f -F -P -m)-I[define infix condition names]' \
'(-u -b -c -d -p -f -A -R)-l[list features]' \
'(-e -u)-L[output in the form of calls to zmodload]' \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author