Diff
1diff --git a/.github/dependencies.yml b/.github/dependencies.yml
2index be46a79734d43bd55490695ef02e757e943c17f7..f644322ff2a0e5827bd57fcb6fa9c7ec85db3e8b 100644
3--- a/.github/dependencies.yml
4+++ b/.github/dependencies.yml
5@@ -24,4 +24,8 @@ dependencies:
6 version: 8f5d8a5aa9942da7b2a764c7fa79e0f36ba802f7
7 precopy: |
8 set -e
9- test -e zsh-history-substring-search.plugin.zsh && mv zsh-history-substring-search.plugin.zsh history-substring-search.plugin.zsh
10+ rm -f zsh-history-substring-search.plugin.zsh
11+ test -e zsh-history-substring-search.zsh && mv zsh-history-substring-search.zsh history-substring-search.zsh
12+ postcopy: |
13+ set -e
14+ test -e dependencies/OMZ-README.md && cat dependencies/OMZ-README.md >> README.md
15diff --git a/plugins/history-substring-search/dependencies/OMZ-README.md b/plugins/history-substring-search/dependencies/OMZ-README.md
16new file mode 100644
17index 0000000000000000000000000000000000000000..9a2ef4d4607898486372aec63e7e66699d328266
18--- /dev/null
19+++ b/plugins/history-substring-search/dependencies/OMZ-README.md
20@@ -0,0 +1,19 @@
21+
22+---
23+
24+## Oh My Zsh Distribution Notes
25+
26+What you are looking at now is Oh My Zsh's repackaging of zsh-history-substring-search as an OMZ module inside
27+the Oh My Zsh distribution.
28+
29+The upstream repo, zsh-users/zsh-history-substring-search, can be found on GitHub at
30+https://github.com/zsh-users/zsh-history-substring-search.
31+
32+This downstream copy was last updated from the following upstream commit:
33+
34+SHA: 8dd05bfcc12b0cd1ee9ea64be725b3d9f713cf64 Commit date: 2023-11-23 12:12:14 +0200
35+
36+Everything above this section is a copy of the original upstream's README, so things may differ slightly when
37+you're using this inside OMZ. In particular, you do not need to set up key bindings for the up and down arrows
38+yourself in `~/.zshrc`; the OMZ plugin does that for you. You may still want to set up additional emacs- or
39+vi-specific bindings as mentioned above.