Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
typeset -p <TAB>
- X-seq: zsh-workers 42265
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: typeset -p <TAB>
- Date: Sat, 13 Jan 2018 18:49:10 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=0z4ztCkILy6p9k1XCH7Y8RrmjaoLP 0vlgQW0AIpfNBc=; b=TtJpFvH0FUibh0YUVcApNPrnWzVs2k8pckbvXMR1jbOLQ 9hPjvpFJ/HU7dabtOJptXtNIlVGe0uUEcx1Arn6LoBjy34dcaC0qwtko4PgWTvS+ gAkFNbknuE7+6/pWO48s/U5EaydCr2bZZqbEkUm1lgLCUdw/QnTEm/DT9F2HaCvv PQSixNjE5q5GvFoBF6hKSWRBpRUYIS1zPGreq7dQ16mxzxu3NdVaMFj6ipD/eR+m 0Q/H86DK1H7E33TQsseVMoHg92oRxYxZEhCfNurTCDshfU1hg2dAH3Rw5xCiFbyv R7mguvpSoMhvb+Ewkmc0lqibMojRGK5IogfL3LS/g==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=0z4ztCkILy6p9k1XCH7Y8RrmjaoLP 0vlgQW0AIpfNBc=; b=XWwBrfHe4YRNKbeaLGtm6ew6ooorgoFxMViWHnPvcBShG /S+gaSsaME5bHfYSSjX6QgtX/T9WJG42MlJl4nBbnzvx69lkZjgJ75Ntzfb2Xnu+ CMwg6b6Y9MlfLndOnYS/zIvMBuyEcdJQ7t5+cbpfKAdkWvnnn9r2CHJA84eKDpLr Imkxtayasm6JP6RjKTArOU9ue3p6ktq0NGJcJRNQnFtBV7bA7pwB5AAkld9Lo3Vu ZR65UW8lGN0+yEKn3aQCbGBt3T3QlKin7c3bl9F8954fNVqAUJWmR18spKwejrGK ho/fzK1IY6lYsbJM5AKeibVMlAlcaXgJd2LL1Np9A==
- 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
Currently, «typeset -p <TAB>» only completes the literal value "1".
«typeset -p Z<TAB>» completes nothing.
The following will fix it, at the cost of only completing "1" as a
pasted argument (not in a separate word).
Okay?
diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset
index e4446a6ff..ac4a79063 100644
--- a/Completion/Zsh/Command/_typeset
+++ b/Completion/Zsh/Command/_typeset
@@ -30,7 +30,7 @@ allargs=(
k "($popts -w -z)-+k[mark function for ksh-style autoloading]"
l "($popts -T)-l[convert the value to lowercase]"
m '(-A -E -F -T -i)-m[treat arguments as patterns]'
- p '-p+[output parameters in form of calls to typeset]:option:((1\:multi-line\ output\ of\ arrays))'
+ p '-p-[output parameters in form of calls to typeset]:option:((1\:multi-line\ output\ of\ arrays))'
r '(-f)-+r[mark parameters as readonly]'
rf '-r[remember autoload path]'
Rf '-R[remember autoload path, error if not found]'
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author