summaryrefslogtreecommitdiff
path: root/plugins/history-substring-search
diff options
context:
space:
mode:
authorAlexander Cyon <Sajjon@users.noreply.github.com>2024-09-01 21:01:27 +0200
committerGitHub <noreply@github.com>2024-09-01 21:01:27 +0200
commitd78275fdbb876cee9c55f5c2731b8c1fac7be6d2 (patch)
tree036ba2075d49e31510bd0f41224ccf7c93cda975 /plugins/history-substring-search
parentc68ff8aeedc2b779ae42d745457ecd443e22e212 (diff)
downloadzsh-d78275fdbb876cee9c55f5c2731b8c1fac7be6d2.tar.gz
zsh-d78275fdbb876cee9c55f5c2731b8c1fac7be6d2.tar.bz2
zsh-d78275fdbb876cee9c55f5c2731b8c1fac7be6d2.zip
chore: fix typos (#12647)
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 2137b7950..9f0e0b0d5 100644
--- a/plugins/history-substring-search/history-substring-search.zsh
+++ b/plugins/history-substring-search/history-substring-search.zsh
@@ -295,8 +295,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}*"