mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 01:17:59 +00:00
Do not source history-substring-search if already loaded (#1830)
This commit is contained in:
parent
530ea10126
commit
13c61bae30
@ -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…
Reference in New Issue
Block a user