Список загружаемых файлов

This commit is contained in:
Andrei Astafev 2021-09-08 09:43:54 +03:00
parent 098834c637
commit e9b976f5f2

53
.zshrc
View File

@ -1,27 +1,32 @@
[ -e $ZDOTDIR/env.start.zsh ] && source $ZDOTDIR/env.start.zsh
zmodload zsh/zprof
source $ZDOTDIR/env.zsh
[ -e $ZDOTDIR/env.user.zsh ] && source $ZDOTDIR/env.user.zsh
source $ZDOTDIR/history.zsh
[ -e $ZDOTDIR/history.user.zsh ] && source $ZDOTDIR/history.user.zsh
source $ZDOTDIR/options.zsh
[ -e $ZDOTDIR/options.user.zsh ] && source $ZDOTDIR/options.user.zsh
source $ZDOTDIR/plugins.zsh
[ -e $ZDOTDIR/plugins.user.zsh ] && source $ZDOTDIR/plugins.user.zsh
source $ZDOTDIR/agents.zsh
[ -e $ZDOTDIR/agents.user.zsh ] && source $ZDOTDIR/agents.user.zsh
source $ZDOTDIR/prompt.zsh
[ -e $ZDOTDIR/prompt.user.zsh ] && source $ZDOTDIR/prompt.user.zsh
source $ZDOTDIR/aliases.zsh
[ -e $ZDOTDIR/aliases.user.zsh ] && source $ZDOTDIR/aliases.user.zsh
source $ZDOTDIR/compinit.zsh
[ -e $ZDOTDIR/compinit.user.zsh ] && source $ZDOTDIR/compinit.user.zsh
for S in \
"$ZDOTDIR/env.start.zsh" \
"$ZDOTDIR/env.zsh" \
"$ZDOTDIR/env.user.zsh" \
\
"$ZDOTDIR/history.zsh" \
"$ZDOTDIR/history.user.zsh" \
\
"$ZDOTDIR/options.zsh" \
"$ZDOTDIR/options.user.zsh" \
\
"$ZDOTDIR/plugins.zsh" \
"$ZDOTDIR/plugins.user.zsh" \
\
"$ZDOTDIR/agents.zsh" \
"$ZDOTDIR/agents.user.zsh" \
\
"$ZDOTDIR/prompt.zsh" \
"$ZDOTDIR/prompt.user.zsh" \
\
"$ZDOTDIR/aliases.zsh" \
"$ZDOTDIR/aliases.user.zsh" \
\
"$ZDOTDIR/compinit.zsh" \
"$ZDOTDIR/compinit.user.zsh" \
;
do [ -e "$S" ] && source "$S"
done
true