feat(history-substring-search): update to upstream (#12164)

This commit is contained in:
Tabrez Mohammed authored and GitHub committed 2024-01-16 10:39:45 +01:00
1 parent 35a5357704
commit d93401c642
3 files changed
+231 -88

No files matched your search

@@ -1,9 +1,5 @@
# Handle $0 according to the standard:
# https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
0="${${(M)0:#/*}:-$PWD/$0}"
source ${0:A:h}/history-substring-search.zsh
0=${(%):-%N}
source ${0:A:h}/zsh-history-substring-search.zsh
# Bind terminal-specific up and down keys