Do not source history-substring-search if already loaded (#1830)

main
Amyn 5 years ago committed by GitHub
parent 530ea10126
commit 13c61bae30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,7 +10,9 @@
pmodload 'editor' pmodload 'editor'
# Source module files. # Source module files.
if (( ! $+functions[history-substring-search-up] )); then
source "${0:h}/external/zsh-history-substring-search.zsh" || return 1 source "${0:h}/external/zsh-history-substring-search.zsh" || return 1
fi
# #
# Search # Search

Loading…
Cancel
Save