Skip to content

Commit 6e0e950

Browse files
a1346054danielshahaf
authored andcommitted
*: Fix spelling
Part of PR #832.
1 parent dffe304 commit 6e0e950

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/highlighters.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ By default, all command lines are highlighted. However, it is possible to
2525
prevent command lines longer than a fixed number of characters from being
2626
highlighted by setting the variable `${ZSH_HIGHLIGHT_MAXLENGTH}` to the maximum
2727
length (in characters) of command lines to be highlighter. This is useful when
28-
editing very long comand lines (for example, with the [`fned`][fned] utility
28+
editing very long command lines (for example, with the [`fned`][fned] utility
2929
function). Example:
3030

3131
[fned]: http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#index-zed

highlighters/main/main-highlighter.zsh

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ _zsh_highlight_main_highlighter_highlight_list()
744744
# Analyse the current word.
745745
if _zsh_highlight_main__is_redirection $arg ; then
746746
if (( in_redirection == 1 )); then
747-
# Two consecuive redirection operators is an error.
747+
# Two consecutive redirection operators is an error.
748748
_zsh_highlight_main_add_region_highlight $start_pos $end_pos unknown-token
749749
else
750750
in_redirection=2

0 commit comments

Comments
 (0)