mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 12:48:01 +00:00
Stop module loading when external code fails to source
This commit is contained in:
parent
e1e2c85392
commit
a914a87aa9
@ -10,7 +10,7 @@
|
|||||||
pmodload 'editor'
|
pmodload 'editor'
|
||||||
|
|
||||||
# Source module files.
|
# Source module files.
|
||||||
source "${0:h}/external/zsh-history-substring-search.zsh"
|
source "${0:h}/external/zsh-history-substring-search.zsh" || return 1
|
||||||
|
|
||||||
#
|
#
|
||||||
# Search
|
# Search
|
||||||
|
@ -11,7 +11,7 @@ if ! zstyle -t ':prezto:module:syntax-highlighting' color; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Source module files.
|
# Source module files.
|
||||||
source "${0:h}/external/zsh-syntax-highlighting.zsh"
|
source "${0:h}/external/zsh-syntax-highlighting.zsh" || return 1
|
||||||
|
|
||||||
# Set highlighters.
|
# Set highlighters.
|
||||||
zstyle -a ':prezto:module:syntax-highlighting' highlighters 'ZSH_HIGHLIGHT_HIGHLIGHTERS'
|
zstyle -a ':prezto:module:syntax-highlighting' highlighters 'ZSH_HIGHLIGHT_HIGHLIGHTERS'
|
||||||
|
Loading…
Reference in New Issue
Block a user