I examined I understand that the variable length is assigned to a local variable So, someone told me that I just have to look at the right place, there are two parts in the command: < Pre> and Where and for later R TFM but could not understand it. The snippet is from <2> ZSH from Adam 2 prompt.
local prompt_line_1a_width = $ {# $ {(%%) prompt_line_1a // (\% ([KF1] |) \ {* \} | \% [BBKF])}} < / Code>
prompt_line_1a variable variable
$ {(S% %) Prompt_line_1a // (\% ([KF1] |) \ {* \} | \% [BBKF])}
$ {(flags) variablename}
$ {string // pattern / replacement}
/ replacements can be removed if there is no replacement but should be outdated.
No comments:
Post a Comment