mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-10-14 07:49:09 +00:00
[#255] Use $ZDOTDIR or $HOME
This commit is contained in:
5
init.zsh
5
init.zsh
@@ -13,6 +13,11 @@ if ! autoload -Uz is-at-least || ! is-at-least "$min_zsh_version"; then
|
||||
fi
|
||||
unset min_zsh_version
|
||||
|
||||
# Source the Prezto configuration file.
|
||||
if [[ -s "${ZDOTDIR:-$HOME}/.zpreztorc" ]]; then
|
||||
source "${ZDOTDIR:-$HOME}/.zpreztorc"
|
||||
fi
|
||||
|
||||
# Disable color and theme in dumb terminals.
|
||||
if [[ "$TERM" == 'dumb' ]]; then
|
||||
zstyle ':prezto:*:*' color 'no'
|
||||
|
Reference in New Issue
Block a user