1
0
Fork 0

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

This commit is contained in:
Tabrez Mohammed 2024-01-16 01:39:45 -08:00 committed by GitHub
commit d93401c642
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 231 additions and 88 deletions

View file

@ -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