Browse Source

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

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

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

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

Loading…
Cancel
Save