=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/HACKING.md-80-That comma is required to cause zsh 5.8 and older to ignore the memo without zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/HACKING.md:81:ignoring the `$spec`. It's a hack, but given that no further 5.8.x patch zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/HACKING.md-82-releases are planned, it's been deemed acceptable. See issue #418 and the ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-20- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:21:- Document `$ZSH_HIGHLIGHT_MAXLENGTH`. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-22- [#698] ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-43- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:44:- Support parameter elision in command position (e.g., `$foo ls` where `$foo` is unset or empty) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-45- [#667] ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-55- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:56:- Fix `: $(<*)` being highlighted as globbing. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-57- [#582] ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-102- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:103:- Highlight arithmetic expansions (e.g., `$(( 42 ))`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-104- [#607 #649 #704] ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-140- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:141:- Highlight command substitutions (`` : `ls` ``, `: $(ls)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-142- [c0e64fe13178 and parents, e86f75a840e7, et al] ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-150-- Highlight many precommands (e.g., `nice`, `stdbuf`, `eatmydata`; zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:151: see `$precommand_options` in the source) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-152- ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-207- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:208:- The `isearch` and `suffix` [`$zle_highlight` settings][zshzle-Character-Highlighting]. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:209: (79e4d3d12405, 15db71abd0cc, b56ee542d619; requires zsh 5.3 for `$ISEARCHMATCH_ACTIVE` / `$SUFFIX_ACTIVE` support) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-210- ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-224- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:225:- An unquoted `$*` (expands to the positional parameters). zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-226- (237f89ad629f) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-300- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:301:- Assignments to individual positional arguments (`42=foo` to assign to `$42`). zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-302- (f4036a09cee3) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-323- (which is the default), highlight the first word in the function body as zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:324: a command word: `f() { g "$@" }`. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-325- (6f91850a01e1) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-329- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:330:- Command substitutions inside double quotes, `"$(echo foo)"`. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-331- (#139 (in part), c3913e0d8ead) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-332- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:333:- Non-alphabetic parameters inside double quotes (`"$$"`, `"$#"`, `"$*"`, `"$@"`, `"$?"`, `"$-"`). zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-334- (4afe670f7a1b, 44ef6e38e5a7) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-351- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:352:- The `select` prompt, `$PS3`. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-353- (#268, 451665cb2a8b) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-360- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:361:- "division by zero" error under the `brackets` highlighter when `$ZSH_HIGHLIGHT_STYLES` is empty. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-362- (f73f3d53d3a6) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-409- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:410:- The driver no longer defines a `_zsh_highlight_${highlighter}_highlighter_cache` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-411- variable, which is in the highlighters' namespace. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-494-- Arguments to widgets were not properly dash-escaped. Only matters for widgets zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:495: that take arguments (i.e., that are invoked as `zle ${widget} -- ${args}`). zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-496- (282c7134e8ac, reverts c808d2187a73) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-632- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:633:- 'make install': Permit setting `$(SHARE_DIR)` from the environment. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-634- (e1078a8b4cf1) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-650- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:651:- driver: Report `$ZSH_HIGHLIGHT_REVISION` when running from git zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-652- (84734ba95026) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-783- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md:784:- `$?` propagated correctly to wrapped widgets zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/changelog.md-785- ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md-25-prevent command lines longer than a fixed number of characters from being zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md:26:highlighted by setting the variable `${ZSH_HIGHLIGHT_MAXLENGTH}` to the maximum zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md-27-length (in characters) of command lines to be highlighter. This is useful when ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md-47- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md:48:By default, `$ZSH_HIGHLIGHT_HIGHLIGHTERS` is unset and only the `main` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md-49-highlighter is active. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md-58-same as the syntax of "types of highlighting" of the zsh builtin zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md:59:`$zle_highlight` array, which is documented in [the `zshzle(1)` manual zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md-60-page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md-91- style for that key in the highlighter script outside of any function with zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md:92: `: ${ZSH_HIGHLIGHT_STYLES[key]:=value}`, being sure to prefix zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters.md-93- the key with your highlighter name and a colon. For example: ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/brackets.md-27-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/brackets.md:28:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/brackets.md-29-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/cursor.md-20-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/cursor.md:21:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/cursor.md-22-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/line.md-20-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/line.md:21:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/line.md-22-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-36-* `history-expansion` - history expansion expressions (`!foo` and `^foo^bar`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:37:* `command-substitution` - command substitutions (`$(echo foo)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:38:* `command-substitution-unquoted` - an unquoted command substitution (`$(echo foo)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:39:* `command-substitution-quoted` - a quoted command substitution (`"$(echo foo)"`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:40:* `command-substitution-delimiter` - command substitution delimiters (`$(` and `)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:41:* `command-substitution-delimiter-unquoted` - an unquoted command substitution delimiters (`$(` and `)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:42:* `command-substitution-delimiter-quoted` - a quoted command substitution delimiters (`"$(` and `)"`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-43-* `process-substitution` - process substitutions (`<(echo foo)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-44-* `process-substitution-delimiter` - process substitution delimiters (`<(` and `)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:45:* `arithmetic-expansion` - arithmetic expansion `$(( 42 ))`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-46-* `single-hyphen-option` - single-hyphen options (`-o`) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-54-* `double-quoted-argument-unclosed` - unclosed double-quoted arguments (`` "foo ``) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:55:* `dollar-quoted-argument` - dollar-quoted arguments (`` $'foo' ``) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:56:* `dollar-quoted-argument-unclosed` - unclosed dollar-quoted arguments (`` $'foo ``) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-57-* `rc-quote` - two single quotes inside single quotes when the `RC_QUOTES` option is set (`` 'foo''bar' ``) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:58:* `dollar-double-quoted-argument` - parameter expansion inside double quotes (`$foo` inside `""`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-59-* `back-double-quoted-argument` - backslash escape sequences inside double-quoted arguments (`\"` in `"foo\"bar"`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:60:* `back-dollar-quoted-argument` - backslash escape sequences inside dollar-quoted arguments (`\x` in `$'\x48'`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-61-* `assign` - parameter assignments (`x=foo` and `x=( )`) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-63-* `comment` - comments, when `setopt INTERACTIVE_COMMENTS` is in effect (`echo # foo`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:64:* `comment` - elided parameters in command position (`$x ls` when `$x` is unset or empty) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-65-* `named-fd` - named file descriptor (the `fd` in `echo foo {fd}>&2`) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-87-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:88:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-89-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-114-different than "function" and "alias" and "external command" — then command words zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:115:of that (new) kind will be highlighted by the style `arg0_$kind`, zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md:116:where `$kind` is the output of `type -w` on the new kind of command word. If that zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/main.md-117-style is not defined, then the style `arg0` will be used instead. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/pattern.md-20-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/pattern.md:21:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/pattern.md-22-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/regexp.md-21-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/regexp.md:22:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/regexp.md-23-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/root.md-21-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/root.md:22:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/docs/highlighters/root.md-23-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/README.md-4-Navigate into the individual highlighters' documentation to see zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/README.md:5:what styles (`$ZSH_HIGHLIGHT_STYLES` keys) each highlighter defines. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/README.md-6- ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/brackets/README.md-27-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/brackets/README.md:28:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/brackets/README.md-29-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/cursor/README.md-20-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/cursor/README.md:21:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/cursor/README.md-22-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/line/README.md-20-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/line/README.md:21:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/line/README.md-22-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/main-highlighter.zsh-658- # end_pos was advanced by $offset (via start_pos) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/main-highlighter.zsh:659: # and by $#arg. Note the `start_pos=$end_pos` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/main-highlighter.zsh-660- # below. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh-32-# 1234567 8 90123456789012345 678901234 5 678901 2 3 456789012345678 9 0 1234 5 6 7890123456789012 3 4 56789012 3 4567 8 9 01 23 4567890123 zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh:33:BUFFER=$'echo Ph\\\'ng`echo lui "mg"\\`echo lw\\\'nafh \\\\\\`echo Cthu"lhu\\\\\\` R\\\\\'ly$(echo eh wag\\\\\\`echo h\\\'nag\\\\\\`\'l\' fht)agn`' zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh-34- ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh-36- '1 4 builtin' # echo zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh:37: '6 113 default' # Ph\'ng`echo lui "mg"\`echo lw\'nafh \\\`echo Cthu"lhu\\\` R\\'ly$(echo eh wag\\\`echo h\'nag\\\`'l' fht)agn` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh:38: '12 113 back-quoted-argument' # `echo lui "mg"\`echo lw\'nafh \\\`echo Cthu"lhu\\\` R\\'ly$(echo eh wag\\\`echo h\'nag\\\`'l' fht)agn` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh-39- '12 12 back-quoted-argument-delimiter' # ` ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh-41- '18 20 default' # lui zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh:42: '22 112 default' # "mg"\`echo lw\'nafh \\\`echo Cthu"lhu\\\` R\\'ly$(echo eh wag\\\`echo h\'nag\\\`'l' fht)agn zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh-43- '22 25 double-quoted-argument' # "mg" zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh:44: '26 112 back-quoted-argument-unclosed' # \`echo lw\'nafh \\\`echo Cthu"lhu\\\` R\\'ly$(echo eh wag\\\`echo h\'nag\\\`'l' fht)agn zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/test-data/cthulhu.zsh-45- '26 27 back-quoted-argument-delimiter' # \` ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-36-* `history-expansion` - history expansion expressions (`!foo` and `^foo^bar`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:37:* `command-substitution` - command substitutions (`$(echo foo)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:38:* `command-substitution-unquoted` - an unquoted command substitution (`$(echo foo)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:39:* `command-substitution-quoted` - a quoted command substitution (`"$(echo foo)"`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:40:* `command-substitution-delimiter` - command substitution delimiters (`$(` and `)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:41:* `command-substitution-delimiter-unquoted` - an unquoted command substitution delimiters (`$(` and `)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:42:* `command-substitution-delimiter-quoted` - a quoted command substitution delimiters (`"$(` and `)"`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-43-* `process-substitution` - process substitutions (`<(echo foo)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-44-* `process-substitution-delimiter` - process substitution delimiters (`<(` and `)`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:45:* `arithmetic-expansion` - arithmetic expansion `$(( 42 ))`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-46-* `single-hyphen-option` - single-hyphen options (`-o`) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-54-* `double-quoted-argument-unclosed` - unclosed double-quoted arguments (`` "foo ``) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:55:* `dollar-quoted-argument` - dollar-quoted arguments (`` $'foo' ``) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:56:* `dollar-quoted-argument-unclosed` - unclosed dollar-quoted arguments (`` $'foo ``) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-57-* `rc-quote` - two single quotes inside single quotes when the `RC_QUOTES` option is set (`` 'foo''bar' ``) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:58:* `dollar-double-quoted-argument` - parameter expansion inside double quotes (`$foo` inside `""`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-59-* `back-double-quoted-argument` - backslash escape sequences inside double-quoted arguments (`\"` in `"foo\"bar"`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:60:* `back-dollar-quoted-argument` - backslash escape sequences inside dollar-quoted arguments (`\x` in `$'\x48'`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-61-* `assign` - parameter assignments (`x=foo` and `x=( )`) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-63-* `comment` - comments, when `setopt INTERACTIVE_COMMENTS` is in effect (`echo # foo`) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:64:* `comment` - elided parameters in command position (`$x ls` when `$x` is unset or empty) zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-65-* `named-fd` - named file descriptor (the `fd` in `echo foo {fd}>&2`) ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-87-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:88:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-89-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-114-different than "function" and "alias" and "external command" — then command words zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:115:of that (new) kind will be highlighted by the style `arg0_$kind`, zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md:116:where `$kind` is the output of `type -w` on the new kind of command word. If that zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/main/README.md-117-style is not defined, then the style `arg0` will be used instead. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/pattern/README.md-20-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/pattern/README.md:21:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/pattern/README.md-22-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/regexp/README.md-21-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/regexp/README.md:22:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/regexp/README.md-23-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/root/README.md-21-The syntax for values is the same as the syntax of "types of highlighting" of zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/root/README.md:22:the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/highlighters/root/README.md-23-manual page][zshzle-Character-Highlighting]. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/release.md-12- Remove `-dev` suffix from `./.version`; zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/release.md:13: Commit that using `git commit -m "Tag version $(<.version)." .version`; zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/release.md:14: Tag it using `git tag -s -m "Tag version $(<.version)" $(<.version)`; zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/release.md-15- Increment `./.version` and restore the `-dev` suffix; ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-12-1. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:13:Each test should define the string `$BUFFER` that is to be highlighted and the zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:14:array parameter `$expected_region_highlight`. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:15:The value of that parameter is a list of strings of the form `"$i $j $style"`. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:16:or `"$i $j $style $todo"`. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:17:Each string specifies the highlighting that `$BUFFER[$i,$j]` should have; zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:18:that is, `$i` and `$j` specify a range, 1-indexed, inclusive of both endpoints. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:19:`$style` is a key of `$ZSH_HIGHLIGHT_STYLES`. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:20:If `$todo` exists, the test point is marked as TODO (the failure of that test zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:21:point will not fail the test), and `$todo` is used as the explanation. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-22- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-23-2. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:24:If a test sets `$skip_test` to a non-empty string, the test will be skipped zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-25-with the provided string as the reason. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-27-3. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:28:If a test sets `$fail_test` to a non-empty string, the test will be skipped zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-29-with the provided string as the reason. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-31-4. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:32:If a test sets `unsorted=1` the order of highlights in `$expected_region_highlight` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:33:need not match the order in `$region_highlight`. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-34- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-35-5. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:36:Normally, tests fail if `$expected_region_highlight` and `$region_highlight` zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-37-have different numbers of elements. To mark this check as expected to fail, zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:38:tests may set `$expected_mismatch` to an explanation string (like `$todo`); zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-39-this is useful when the only difference between actual and expected is that actual zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-40-has some additional, superfluous elements. This check is skipped if the zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:41:`$todo` component is present in any regular test point. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-42- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:43:**Note**: `$region_highlight` uses the same `"$i $j $style"` syntax but zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-44-interprets the indexes differently. ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-50-aliases, functions, etc., it defines will be visible to the tested code (that zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:51:computes `$region_highlight`), but will not affect subsequent tests. The zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-52-current working directory of tests is set to a newly-created empty directory, ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-79-This generates a `highlighters/acme/test-data/newfile.zsh` test file based on zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:80:the current highlighting of the given `$BUFFER` (in this case, `ls -x`). zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-81- zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-82-_This tool is experimental._ Its interface may change. In particular it may zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md:83:grow ways to set `$PREBUFFER` to inject free-form code into the generated file. zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/tests/README.md-84- ############################################## zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/zsh-syntax-highlighting.zsh-414- print -r -- >&2 "zsh-syntax-highlighting: unhandled ZLE widget ${(qq)cur_widget}" zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/zsh-syntax-highlighting.zsh:415: print -r -- >&2 "zsh-syntax-highlighting: (This is sometimes caused by doing \`bindkey <keys> ${(q-)cur_widget}\` without creating the ${(qq)cur_widget} widget with \`zle -N\` or \`zle -C\`.)" zsh-syntax-highlighting-0.8.0~alpha1-pre-redrawhook/zsh-syntax-highlighting.zsh-416- fi