Browse Source

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

master
Amyn 4 years ago committed by GitHub
parent
commit
e0bb458ad6
  1. 4
      modules/history-substring-search/init.zsh

4
modules/history-substring-search/init.zsh

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

Loading…
Cancel
Save