[Fix #264] Remove double sourcing of zpreztorc
This commit is contained in:
parent
cc7e43b242
commit
0156fc8e2c
5
init.zsh
5
init.zsh
@ -18,11 +18,6 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zpreztorc" ]]; then
|
|||||||
source "${ZDOTDIR:-$HOME}/.zpreztorc"
|
source "${ZDOTDIR:-$HOME}/.zpreztorc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Source the Prezto configuration file.
|
|
||||||
if [[ -s "${ZDOTDIR:-$HOME}/.zpreztorc" ]]; then
|
|
||||||
source "${ZDOTDIR:-$HOME}/.zpreztorc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Disable color and theme in dumb terminals.
|
# Disable color and theme in dumb terminals.
|
||||||
if [[ "$TERM" == 'dumb' ]]; then
|
if [[ "$TERM" == 'dumb' ]]; then
|
||||||
zstyle ':prezto:*:*' color 'no'
|
zstyle ':prezto:*:*' color 'no'
|
||||||
|
Reference in New Issue
Block a user