summaryrefslogtreecommitdiff
path: root/plugins/history-substring-search
diff options
context:
space:
mode:
authorJosh Soref <2119212+jsoref@users.noreply.github.com>2021-12-01 06:20:31 -0500
committerGitHub <noreply@github.com>2021-12-01 12:20:31 +0100
commit0e41181d547e2f89ffc503a7afc8b0f3991dd1a8 (patch)
treeefb25d5bca1351819a0bc0993df442bb1c49d4f8 /plugins/history-substring-search
parent1c1d74c5ec49e5ab7e2d664e557c61745d1995e6 (diff)
downloadzsh-0e41181d547e2f89ffc503a7afc8b0f3991dd1a8.tar.gz
zsh-0e41181d547e2f89ffc503a7afc8b0f3991dd1a8.tar.bz2
zsh-0e41181d547e2f89ffc503a7afc8b0f3991dd1a8.zip
chore: fix spelling errors across the project (#10459)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Diffstat (limited to 'plugins/history-substring-search')
-rw-r--r--plugins/history-substring-search/history-substring-search.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/history-substring-search/history-substring-search.zsh b/plugins/history-substring-search/history-substring-search.zsh
index a791cc4da..c326778d4 100644
--- a/plugins/history-substring-search/history-substring-search.zsh
+++ b/plugins/history-substring-search/history-substring-search.zsh
@@ -243,8 +243,8 @@ _history-substring-search-begin() {
fi
#
- # Escape and join query parts with wildcard character '*' as seperator
- # `(j:CHAR:)` join array to string with CHAR as seperator
+ # Escape and join query parts with wildcard character '*' as separator
+ # `(j:CHAR:)` join array to string with CHAR as separator
#
local search_pattern="*${(j:*:)_history_substring_search_query_parts[@]//(#m)[\][()|\\*?#<>~^]/\\$MATCH}*"