Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Missing keyword 'tied'



> On 04 January 2022 at 15:15 Jim <linux.tech.guy@xxxxxxxxx> wrote:
> Parameter expansion flag 't' when applied to parameters PATH, path, ...,
> outputs '*-tied*'.  Yet, the zshexpn man page under 'Parameter Expansion
> Flags' for the 't' flag does not define keyword 'tied'.
> 
> Is this an oversight or left out for some other reason?
> My ZSH_VERSION 5.8

That'll be a long-standing oversight, good to track it down.  Thanks.

See if this reads OK.  I've put it in the position in the list that
it would appear in the actual output.

pws

diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 753e5a008..93ae3001d 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -1205,6 +1205,11 @@ for readonly parameters
 item(tt(tag))(
 for tagged parameters
 )
+item(tt(tied))(
+for parameters tied to another parameter in the manner of tt(PATH)
+(colon-separated list) and tt(path) (array), whether these are
+special parameters or user-defined with `tt(typeset -T)'
+)
 item(tt(export))(
 for exported parameters
 )




Messages sorted by: Reverse Date, Date, Thread, Author