Commit Graph
9 Commits
Author SHA1 Message Date
Daniel Shahaf 26a82113b0 'main': Highlight 'sudo' correctly when it's not installed.
No test because _zsh_highlight_main__type() falls back to 'type -w' which runs
'rehash' implicitly, so on systems where 'sudo' is installed it's not possible
to simulate its being absent.

Test by forcing _zsh_highlight_main__type() to return 'none' when the
argument is [[ $1 == 'sudo' ]], and: (1) Run 'make test' and confirm
that all tests either pass, or fail and the first test point that fails
is one that expects "sudo" at command position to be highlighted as
'command'; (2) In an interactive zsh, 'sudo' at command position is
highlighted as an error.
2017-12-07 00:00:13 +00:00
Daniel Shahaf c13ee4cf88 docs: Point to repology for finding packages. 2017-12-06 22:32:31 +00:00
Daniel Shahaf 918aa3eb88 README: Fix typo.
Closes #458.
2017-11-29 17:15:27 +00:00
Daniel Shahaf e4352f98bb driver: Revert previous commit, unbreaking the build on zsh<5.0.8. 2017-11-05 15:58:58 +00:00
Daniel Shahaf 9d9e9662cf driver: Correctly escape assoc key pattern 2017-11-05 14:38:05 +00:00
Daniel Shahaf a2a899b41b driver: _zsh_highlight_bind_widgets: Be resilient to NO_UNSET being set in the calling scope.
Fixes #449.
2017-11-02 17:07:10 +00:00
Daniel Shahaf c41356c3f6 docs: Add Void Linux link. 2017-10-18 00:17:29 +00:00
Daniel Shahaf 5436d3e5fc tests: Remove superfluous comment.
The functions can remain defined because, nowadays, the test harness
runs each test in a subshell; but that's a well-known property of the
test harness so need not be mentioned explicitly.

Inspired by discussion on issue #443.
2017-09-11 18:45:35 +00:00
Daniel Shahaf 4cde79ef00 release.md: Make a little more copy-pasteable. 2017-08-30 07:32:56 +00:00