zsh-syntax-highlighting/highlighters/main/test-data
oliver 0faf67ce9a
feat(main): highlight invalid apt subcommands distinctly
Detect apt subcommands after runnable apt invocations and mark known
subcommands as commands while styling unknown ones as unknown tokens.

Load apt subcommands lazily from apt help with a built-in fallback list so
highlighting works across apt versions. Add tests for valid and invalid apt
subcommand handling.feat(main): highlight invalid apt subcommands distinctly

Detect apt subcommands after runnable apt invocations and mark known
subcommands as commands while styling unknown ones as unknown tokens.

Load apt subcommands lazily from apt help with a built-in fallback list so
highlighting works across apt versions. Add tests for valid and invalid apt
subcommand handling.
2026-06-06 22:18:09 +08:00
..
abspath-in-command-position1.zsh 'main': In command position, do not highlight directories (unless AUTO_CD is set) and non-executable files. 2020-03-19 06:06:30 +00:00
abspath-in-command-position1b.zsh 'main': Let AUTO_CD directories be highlighted with their own style. 2020-03-19 06:06:30 +00:00
abspath-in-command-position2.zsh 'main': Add some tests for complete and partial absolute paths in command position. 2020-01-12 19:29:46 +00:00
abspath-in-command-position3.zsh 'main': In command position, do not highlight directories (unless AUTO_CD is set) and non-executable files. 2020-03-19 06:06:30 +00:00
abspath-in-command-position3b.zsh 'main': Let AUTO_CD directories be highlighted with their own style. 2020-03-19 06:06:30 +00:00
abspath-in-command-position4.zsh 'main': Add some tests for complete and partial absolute paths in command position. 2020-01-12 19:29:46 +00:00
abspath-in-command-position5.zsh 'main': Add some tests for complete and partial absolute paths in command position. 2020-01-12 19:29:46 +00:00
alias-assignment1.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
alias-basic.zsh 'main': Add two basic tests for aliases. 2019-12-27 09:37:23 +00:00
alias-brackets.zsh main: Allow for "]" in shell aliases 2021-03-04 20:29:43 -06:00
alias-command-substitution.zsh main: Add test for previous 2019-11-07 19:59:00 -06:00
alias-comment1.zsh 'main': Fix issue #677, concerning multiline aliases. 2020-05-22 04:54:10 +00:00
alias-comment2.zsh main: Stop highlighting alias as its first word too 2019-07-20 10:32:12 -05:00
alias-complex.zsh main: Stop highlighting alias as its first word too 2019-07-20 10:32:12 -05:00
alias-empty.zsh main: Add alias tests 2018-10-20 20:57:45 -05:00
alias-eponymous1.zsh 'main': Add a regression test for #652. 2019-12-27 09:00:36 +00:00
alias-eponymous2.zsh 'main': Fix issue #652. 2020-01-12 18:34:49 +00:00
alias-in-cmdsubst.zsh tests: Add a test for a bug fixed in 2d0dddf58b "'main': Don't dequote the word in command position before analyzing it.". 2020-03-16 22:27:04 +00:00
alias-loop.zsh tests: Fix the test for alias loops. 2020-03-15 17:22:35 +00:00
alias-loop2.zsh 'main': Add two basic tests for aliases. 2019-12-27 09:37:23 +00:00
alias-nested-precommand.zsh main: Stop highlighting alias as its first word too 2019-07-20 10:32:12 -05:00
alias-nested.zsh main: Stop highlighting alias as its first word too 2019-07-20 10:32:12 -05:00
alias-parameter.zsh tests: Fix previous 2020-02-25 07:37:09 -06:00
alias-precommand-option-argument1.zsh tests: Add failing tests for issue #674. 2020-01-16 16:12:14 +00:00
alias-precommand-option-argument2.zsh main: Fix misspelling in test expectation 2019-07-20 10:38:53 -05:00
alias-precommand-option-argument3.zsh tests: Add failing tests for issue #674. 2020-01-16 16:12:14 +00:00
alias-precommand-option-argument4.zsh main: Add more alias tests 2019-07-20 10:36:57 -05:00
alias-quoted.zsh main: Run the entirety of aliases through the state machine 2018-10-20 20:57:45 -05:00
alias-redirect.zsh main: Stop highlighting alias as its first word too 2019-07-20 10:32:12 -05:00
alias-reuse1.zsh main: Forget seen aliases when starting a new command 2020-10-12 19:29:53 -05:00
alias-reuse2.zsh main: Forget seen aliases when starting a new command 2020-10-12 19:29:53 -05:00
alias-reuse3.zsh main: Forget seen aliases when starting a new command 2020-10-12 19:29:53 -05:00
alias-reuse4.zsh main: Forget seen aliases when starting a new command 2020-10-12 19:29:53 -05:00
alias-reuse5.zsh main: Forget seen aliases when starting a new command 2020-10-12 19:29:53 -05:00
alias-self.zsh main: Stop highlighting alias as its first word too 2019-07-20 10:32:12 -05:00
alias-self2.zsh main: Remember nest level an alias was seen in for seen_alias 2020-12-25 16:39:07 -06:00
alias-to-dir.zsh 'main': Don't consider path_prefix in alias expansions. 2020-03-19 06:06:30 +00:00
alias-to-dir1b.zsh 'main': Add a test for aliases to AUTO_CD directories. 2020-03-19 06:06:30 +00:00
alias-unknown-token1.zsh main: Add more alias tests 2019-07-20 10:36:57 -05:00
alias-unknown-token2.zsh main: Add more alias tests 2019-07-20 10:36:57 -05:00
alias.zsh main: Stop highlighting alias as its first word too 2019-07-20 10:32:12 -05:00
always1.zsh 'main': Highlight 'always' blocks. 2016-09-25 08:11:01 +00:00
always2.zsh 'main': Allow newlines in command position. 2020-03-15 15:38:07 +00:00
always3.zsh 'main': Highlight 'always' blocks. 2016-09-25 08:11:01 +00:00
anonymous-function.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
apt-invalid-subcommand.zsh feat(main): highlight invalid apt subcommands distinctly 2026-06-06 22:18:09 +08:00
apt-other-commands.zsh feat(main): highlight invalid apt subcommands distinctly 2026-06-06 22:18:09 +08:00
apt-valid-subcommand.zsh feat(main): highlight invalid apt subcommands distinctly 2026-06-06 22:18:09 +08:00
arg0-colon.zsh 'main': Fix a bug concerning command word with embedded colon-space sequences. 2016-11-02 03:16:45 +00:00
arith-cmdsubst-mess.zsh main: Add arithmetic substitution highlighting 2020-05-23 20:29:00 -05:00
arith1.zsh main: Add arithmetic substitution highlighting 2020-05-23 20:29:00 -05:00
arith2.zsh main: Add arithmetic substitution highlighting 2020-05-23 20:29:00 -05:00
arithmetic-command-substitution.zsh main: Add tests for arithmetic expansion 2020-05-23 20:29:09 -05:00
arithmetic-doubled-parens.zsh main: Add tests for arithmetic expansion 2020-05-23 20:29:09 -05:00
arithmetic-empty.zsh main: Add tests for arithmetic expansion 2020-05-23 20:29:09 -05:00
arithmetic-evaluation.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
arithmetic-hist-expn.zsh main: Add tests for arithmetic expansion 2020-05-23 20:29:09 -05:00
arithmetic-invalid-chars.zsh main: Add tests for arithmetic expansion 2020-05-23 20:29:09 -05:00
arithmetic-multiplication.zsh main: Add tests for arithmetic expansion 2020-05-23 20:29:09 -05:00
arithmetic-nested.zsh main: Add tests for arithmetic expansion 2020-05-23 20:29:09 -05:00
arithmetic-quoted.zsh main: Add tests for arithmetic expansion 2020-05-23 20:29:09 -05:00
arithmetic-unclosed.zsh main: Add tests for arithmetic expansion 2020-05-23 20:29:09 -05:00
arithmetic-unfinished.zsh main: Add tests for arithmetic expansion 2020-05-23 20:29:09 -05:00
array-cmdsep1.zsh 'main': Highlight the parentheses of array assignments as reserved words. 2020-06-08 14:23:43 +00:00
array-cmdsep2.zsh 'main': Highlight the parentheses of array assignments as reserved words. 2020-06-08 14:23:43 +00:00
array-cmdsep3.zsh 'main': Highlight the parentheses of array assignments as reserved words. 2020-06-08 14:23:43 +00:00
assign-append.zsh 'main': Highlight the parentheses of array assignments as reserved words. 2020-06-08 14:23:43 +00:00
assign-argv.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
assign-array.zsh 'main': Highlight the parentheses of array assignments as reserved words. 2020-06-08 14:23:43 +00:00
assign-array2.zsh 'main': Highlight the parentheses of array assignments as reserved words. 2020-06-08 14:23:43 +00:00
assign-array3.zsh 'main': Highlight the parentheses of array assignments as reserved words. 2020-06-08 14:23:43 +00:00
assign-invalid-command.zsh tests: Add a test for issue #498, which has already been fixed. 2020-03-19 06:44:12 +00:00
assign-not-array.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
assign-not-array2.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
assign-quoted-cmdsubst.zsh tests: Add a test for issue #571. 2020-03-17 02:58:16 +00:00
assign-semicolon.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
assign-subshell.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
assign-value-quote1.zsh 'main': Don't dequote the word in command position before analyzing it. 2020-01-12 16:11:09 +00:00
assign-value-quote2.zsh 'main': Don't dequote the word in command position before analyzing it. 2020-01-12 16:11:09 +00:00
assign.zsh 'main': Highlight the parentheses of array assignments as reserved words. 2020-06-08 14:23:43 +00:00
assignment-before-resword1.zsh 'main': Highlight reserved words following assignments as errors. 2020-03-19 19:48:44 +00:00
assignment-before-resword2.zsh 'main': Highlight reserved words following assignments as errors. 2020-03-19 19:48:44 +00:00
assignment-before-resword3.zsh 'main': Highlight reserved words following assignments as errors. 2020-03-19 19:48:44 +00:00
assignment-before-resword4.zsh 'main': Highlight reserved words following assignments as errors. 2020-03-19 19:48:44 +00:00
assignment-before-resword5.zsh tests: Add tests for issue #461. 2020-03-19 19:43:12 +00:00
assignment-quoted.zsh 'main': Don't dequote the word in command position before analyzing it. 2020-01-12 16:11:09 +00:00
back-quoted-argument.zsh main: Highlight {command,process} substitution delimiters 2018-09-30 16:26:01 -04:00
back-quoted-open.zsh 'main': Add regression test for an unclosed backtick substitution 2018-09-30 16:26:01 -04:00
backslash-continuation.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
backslash-continuation2.zsh tests: Fix the test added in the last commit. 2020-03-19 02:30:58 +00:00
backslash-space.zsh main: Do not skip over backslash floowed by space or tab 2018-09-29 21:33:39 -04:00
backslash.zsh 'main': Add a test for 07f259f653. 2020-01-11 20:46:14 +00:00
bang-assign-array.zsh 'main': Highlight the parentheses of array assignments as reserved words. 2020-06-08 14:23:43 +00:00
bang-assign-scalar.zsh main: Fix highlighting of the ! precommand after array assignments. Add tests. 2018-10-23 16:31:39 +00:00
bang-pipeline.zsh main: Highlight the ! precommand as an error when not at the start of a pipeline. 2018-10-23 16:31:00 +00:00
block-assignment-no-command.zsh main: New test for issue #854 2022-01-31 09:54:57 +00:00
braces1.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
braces2.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
brackets-matching1.zsh main: Highlight closing brackets 2018-10-21 12:10:07 -05:00
brackets-matching2.zsh main: Highlight closing brackets 2018-10-21 12:10:07 -05:00
brackets-mismatch1.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
brackets-mismatch2.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
brackets-mismatch3.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
brackets-mismatch4.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
brackets-mismatch5.zsh 'main': Yet another test for mismatched braces. 2016-09-25 11:38:52 +00:00
brackets-mismatch6.zsh 'main': Highlight mismatched do/done. 2016-09-25 11:38:54 +00:00
brackets-mismatch7.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
brackets-mismatch8-if-positive.zsh 'main': Highlight mismatched 'if'/'fi'. 2017-03-05 17:33:36 +00:00
brackets-mismatch8.zsh 'main': Permit subshells to end at command position. 2016-09-25 12:06:39 +00:00
brackets-mismatch9-if-positive.zsh 'main': Highlight mismatched 'if'/'fi'. 2017-03-05 17:33:36 +00:00
brackets-mismatch10-if-negative.zsh 'main': Highlight mismatched 'if'/'fi'. 2017-03-05 17:33:36 +00:00
brackets-premature-termination.zsh main: Highlight closing brackets 2018-10-21 12:10:07 -05:00
cdpath-abspath.zsh 'main': Fix the $CDPATH from the previous commit. 2020-01-12 19:37:53 +00:00
cmdpos-elision-partial.zsh tests: Fix the last added test to pass when sudo(8) isn't installed. 2020-02-28 15:22:43 +00:00
command-substitution-adjacent.zsh main: Do not highlight empty region between two adjacent $() 2019-07-08 17:05:42 -05:00
command-substitution-in-assignment.zsh main: Distinguish quoted/unquoted command substitutions 2018-10-13 09:37:09 -05:00
command-substitution-unclosed.zsh main: consume trailing whitespace in _highlight_list 2018-10-22 07:53:18 -05:00
commandseparator.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
comment-followed.zsh 'main': Allow newlines in command position. 2020-03-15 15:38:07 +00:00
comment-leading.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
comment-off.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
comments.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
commmand-parameter.zsh 'main': Highlight array parameters in command position. 2018-10-10 22:20:18 -05:00
control-flow.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
control-flow2.zsh 'main': Fix issue #290, «Mishighlights "longloops" 'repeat'». 2016-05-13 03:30:11 +00:00
control-flow3.zsh tests: Extend issue #290 test with another variant. 2016-05-13 04:28:43 +00:00
cthulhu.zsh main: Distinguish quoted/unquoted command substitutions 2018-10-13 09:37:09 -05:00
dinbrack1.zsh 'main': Correctly highlight '&&' and '||' inside '[[ … ]]' conditions. 2020-03-19 20:16:43 +00:00
dirs_blacklist.zsh main: Drop X_ from X_ZSH_HIGHLIGHT_DIRS_BLACKLIST 2019-07-24 07:27:54 -05:00
dollar-dollar.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
dollar-noise.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
dollar-paren.zsh main: Break double-quoted-argument on command substitutions 2018-10-22 07:53:18 -05:00
dollar-quoted.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
dollar-quoted2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
dollar-quoted3.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
double-hyphen-option.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
double-quoted.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
double-quoted2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
double-quoted3.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
double-quoted4.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
empty-command-newline.zsh 'main': Allow newlines in command position. 2020-03-15 15:38:07 +00:00
empty-command.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
empty-command2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
empty-line.zsh main: Simplify proc_buf offset calculation 2018-10-20 23:48:39 -05:00
equals1.zsh 'main': Highlight errors from the EQUALS option. 2020-03-19 05:59:04 +00:00
equals2.zsh 'main': Highlight errors from the EQUALS option. 2020-03-19 05:59:04 +00:00
equals3.zsh 'main': Highlight errors from the EQUALS option. 2020-03-19 05:59:04 +00:00
equals4.zsh 'main': Highlight errors from the EQUALS option. 2020-03-19 05:59:04 +00:00
escaped-single-quote.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
exec-redirection1.zsh 'main': Highlight named fd redirections. 2018-10-22 04:33:11 +00:00
fd-target-not-filename.zsh 'main': When the redirection operator '>&' or '<&' is followed by a positive integer, do not consider that as a filename; it's always a file descriptor. 2020-03-17 04:00:43 +00:00
function-altsyntax.zsh 'main': Add a test for issue #237. 2018-10-22 04:58:57 +00:00
function-named1.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
function-named2.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
function.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
glob.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
global-alias1.zsh 'main': Highlight global aliases 2020-03-19 05:05:37 +00:00
globs-with-quoting.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
hashed-command.zsh 'main': Use zsh/parameter instead of type -w 2016-05-13 20:25:07 +02:00
history-double-quoted-escaped.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
history-double-quoted-followed.zsh main: Add test for issue #713 2020-03-22 15:01:53 -05:00
history-double-quoted-no.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
history-double-quoted-unescaped.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
history-double-quoted-yes.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
history-expansion.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
history-expansion2.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
inheritance.zsh 'main': Enable fallback to the 'arg0' style. 2016-09-28 13:22:29 +00:00
jobsubst-isnt-glob.zsh main: in arguments starting with %?, ? is not a glob 2019-01-06 22:23:10 -06:00
jobsubst-isnt-glob2.zsh Add a test for the 'true negative' case of issue #596. 2018-12-31 17:57:53 +00:00
loop-newline.zsh 'main': Add test for #548 2019-04-19 19:48:01 -05:00
meta-no-eval1.zsh tests: Test that global qualifiers and command substitutions aren't evaluated. 2020-03-19 06:41:38 +00:00
meta-no-eval2.zsh tests: Test that global qualifiers and command substitutions aren't evaluated. 2020-03-19 06:41:38 +00:00
multiline-array-assignment1.zsh 'main': Highlight the parentheses of array assignments as reserved words. 2020-06-08 14:23:43 +00:00
multiline-string.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
multiline-string2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
multios-negates-globbing.zsh 'main': Honour the MULTIOS option when applying the 'globbing' style. 2020-03-17 03:32:58 +00:00
multios-negates-globbing2.zsh 'main': Honour the MULTIOS option when applying the 'globbing' style. 2020-03-17 03:32:58 +00:00
multiple-quotes.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
multiple-redirections.zsh 'main' tests: Don't assume ps(1) is available. 2024-11-21 15:09:26 +00:00
noglob-alias.zsh main: Stop highlighting alias as its first word too 2019-07-20 10:32:12 -05:00
noglob-always.zsh 'main': Fix issue #577. 2020-02-28 22:36:57 +00:00
noglob1.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
noglob2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
noglob3.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
noglob4.zsh main: Add another test, inspired by #577 and #502. 2018-11-01 04:01:33 +00:00
null-exec.zsh 'main': Fix highlighting of null execs. 2020-03-16 21:50:04 +00:00
null-exec2-printenv.zsh 'main': Disable a lint warning when env(1) was followed by a pipe. 2021-03-01 20:21:39 +00:00
number_range-glob.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
off-by-one.zsh main: Stop highlighting alias as its first word too 2019-07-20 10:32:12 -05:00
opt-shwordsplit1.zsh main: Honor shwordsplit when expanding parameters 2021-06-28 23:02:31 -05:00
optimized-cmdsubst-input.zsh 'main': The optimized cmdsubst input syntax doesn't glob. 2020-03-17 03:11:52 +00:00
option-dollar-quote-isnt-filename.zsh 'main': Fix an issue whereby a --option was highlighted as a file 2019-06-16 20:25:34 +00:00
option-path_dirs.zsh 'main': Skip tests that break on msys2 2017-11-06 07:11:55 -06:00
option-with-quotes.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
order-path-after-dollar.zsh 'main': Don't highlight bare '$foo' as a filename, as it's a parameter expansion. 2018-01-21 06:55:31 +00:00
order-path-before-globbing.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
param-positional-in-array-append.zsh 'main': Highlight the parentheses of array assignments as reserved words. 2020-06-08 14:23:43 +00:00
param-precommand-option-argument1.zsh 'main': Pass parameters through the multi-word machinery, as we already do for aliases. 2020-02-22 15:12:24 +00:00
param-precommand-option-argument3.zsh 'main': Pass parameters through the multi-word machinery, as we already do for aliases. 2020-02-22 15:12:24 +00:00
parameter-elision-command-word.zsh 'main': Support parameter elision in command position. 2020-03-15 18:25:13 +00:00
parameter-expansion-shwordsplit.zsh main: Honor shwordsplit when expanding parameters 2021-06-28 23:02:31 -05:00
parameter-expansion-untokenized1.zsh 'main': Do not look for metacharacters in parameter expansions. 2020-02-22 15:12:24 +00:00
parameter-expansion-untokenized2.zsh 'main': Do not look for metacharacters in parameter expansions. 2020-02-22 15:12:24 +00:00
parameter-star.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
parameter-to-global-alias.zsh tests: parameter-to-global-alias: Use alias name less likely to clash 2023-10-27 22:05:00 -05:00
parameter-value-contains-command-position1.zsh 'main': Parameter expansions may not contain assignments. 2020-02-22 15:12:24 +00:00
parameter-value-contains-command-position2.zsh 'main': Parameter expansions may not contain assignments. 2020-02-22 15:12:24 +00:00
pasted-quotes.zsh Add a unit test for dc1b2f6fa4. 2020-01-11 23:04:22 +00:00
path-broken-symlink.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-dollared-word.zsh 'main': Add tests for «ls \~» and for not performing parameter expansion on the command word. 2017-12-15 02:35:10 +00:00
path-dollared-word2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-dollared-word3.zsh 'main': In command position, do not highlight directories (unless AUTO_CD is set) and non-executable files. 2020-03-19 06:06:30 +00:00
path-dollared-word3b.zsh 'main': Let AUTO_CD directories be highlighted with their own style. 2020-03-19 06:06:30 +00:00
path-dollared-word4.zsh 'main': Add tests for «ls \~» and for not performing parameter expansion on the command word. 2017-12-15 02:35:10 +00:00
path-mixed-quoting.zsh tests: Add a unit test for a path specified with mixed quoting. 2020-03-19 06:49:40 +00:00
path-separators.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-separators2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-space.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-tilde-home.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
path-tilde-home2.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
path-tilde-home3.zsh 'main': Add tests for «ls \~» and for not performing parameter expansion on the command word. 2017-12-15 02:35:10 +00:00
path-tilde-named.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
path.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
path_prefix.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path_prefix2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path_prefix3.zsh tests: Fix a wrong value of $PREBUFFER in a test, and add checks to prevent this from recurring. 2020-06-11 08:14:07 +00:00
plain-file-in-command-position.zsh 'main': In command position, do not highlight directories (unless AUTO_CD is set) and non-executable files. 2020-03-19 06:06:30 +00:00
precommand-killing1.zsh tests: precommand-killing1: Use a dummy path that always exists 2020-08-11 08:13:17 +00:00
precommand-killing2.zsh 'main': Support the non-precommand flags of sudo(8) and ssh-agent(1). 2020-03-16 19:22:54 +00:00
precommand-then-assignment.zsh Add a test for issue #641.5, using the infrastructure added in the previous commits. 2019-11-10 11:49:26 +00:00
precommand-type1.zsh 'main': Use nice for tests in previous 2019-04-04 21:52:51 -05:00
precommand-type2.zsh 'main': Use nice for tests in previous 2019-04-04 21:52:51 -05:00
precommand-type3.zsh 'main': Use nice for tests in previous 2019-04-04 21:52:51 -05:00
precommand-uninstalled.zsh tests: Fixup last commit. 2020-03-16 18:57:28 +00:00
precommand-unknown-option.zsh 'main': Restore 0.6.0's behaviour for unknown options. 2020-01-14 23:08:50 +00:00
precommand.zsh tests: Remove unused_highlight 2016-05-05 12:28:43 -05:00
precommand2.zsh 'main': Highlight the 'command' precommand. 2018-10-10 22:19:41 -05:00
precommand3.zsh 'main': Highlight 'nice'. 2018-10-10 22:19:41 -05:00
precommand4.zsh 'main': Learn $flags_sans_arguments and use that to parse '-xy foo' correctly where -x takes no argument and -y does. 2018-10-10 22:19:41 -05:00
prefix-redirection.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
process-substitution-after-redirection.zsh Add a test for redirection from/to process substitution. 2020-01-11 21:47:34 +00:00
process-substitution-redirection-isnt-globbing.zsh main: Highlight {command,process} substitution delimiters 2018-09-30 16:26:01 -04:00
process-substitution.zsh main: Highlight {command,process} substitution delimiters 2018-09-30 16:26:01 -04:00
process-substitution2.zsh main: consume trailing whitespace in _highlight_list 2018-10-22 07:53:18 -05:00
quoted-command-substitution-empty.zsh main: consume trailing whitespace in _highlight_list 2018-10-22 07:53:18 -05:00
quoted-redirection-in-command-word.zsh 'main': Don't dequote the word in command position before analyzing it. 2020-01-12 16:11:09 +00:00
rc-quotes.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
redirection-all.zsh main: Refactor __is_redirection 2024-01-06 12:36:52 -06:00
redirection-comment.zsh main: A redirection token is an invalid redirection target 2017-12-19 23:01:42 -06:00
redirection-from-param.zsh 'main': Don't progress the $in_redirection staller while $in_param. 2020-06-08 14:38:59 +00:00
redirection-in-cmdsubst.zsh main: Distinguish quoted/unquoted command substitutions 2018-10-13 09:37:09 -05:00
redirection-inhibits-elision.zsh 'main': Fix the last commit's bug concerning parameter elision not happening in redirects in command position. 2020-05-13 12:51:52 +00:00
redirection-is-not-option.zsh Add a test for 2f03b6d704. 2020-01-11 21:19:52 +00:00
redirection-special-cases.zsh 'main': Support the "close file descriptor" and "coproc" redirection syntaxes 2020-03-19 03:15:37 +00:00
redirection.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
redirection2.zsh main: Highlight {command,process} substitution delimiters 2018-09-30 16:26:01 -04:00
redirection3.zsh main: A redirection token is an invalid redirection target 2017-12-19 23:01:42 -06:00
reserved-word.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
simple-command.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
simple-redirection.zsh 'main' tests: Don't assume ps(1) is available. 2024-11-21 15:09:26 +00:00
subshell.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
sudo-command.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
sudo-comment.zsh Followup to parents: Restore sudo-* tests on platforms that don't have sudo. 2017-12-07 01:16:02 +00:00
sudo-longopt.zsh tests: Make sudo-longopt pass when sudo isn't installed. 2020-01-16 15:49:27 +00:00
sudo-redirection.zsh Followup to parents: Restore sudo-* tests on platforms that don't have sudo. 2017-12-07 01:16:02 +00:00
sudo-redirection2.zsh Followup to parents: Restore sudo-* tests on platforms that don't have sudo. 2017-12-07 01:16:02 +00:00
sudo-redirection3.zsh Followup to parents: Restore sudo-* tests on platforms that don't have sudo. 2017-12-07 01:16:02 +00:00
tilde-command-word.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
time-and-nocorrect1.zsh 'main': Fix highlighting of the 'time' and 'nocorrect reserved words 2019-12-27 13:47:31 +00:00
time-and-nocorrect2.zsh 'main': Fix highlighting of the 'time' and 'nocorrect reserved words 2019-12-27 13:47:31 +00:00
unbackslash.zsh tests: Remove unused_highlight 2016-05-05 12:28:43 -05:00
unknown-command.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
vanilla-newline.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
vi-linewise-mode.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00