Загрузка скриптов pre и post
This commit is contained in:
parent
22197ae61a
commit
026199797d
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
.zcompdump*
|
.zcompdump*
|
||||||
keychain-config.zsh
|
|
||||||
*.user.zsh
|
*.user.zsh
|
||||||
*.start.zsh
|
*.post.zsh
|
||||||
|
*.pre.zsh
|
||||||
|
*.zwc
|
||||||
|
6
.zshrc
6
.zshrc
@ -11,8 +11,12 @@ for S in \
|
|||||||
85-compinit \
|
85-compinit \
|
||||||
95-finish
|
95-finish
|
||||||
do
|
do
|
||||||
[ -e "$ZDOTDIR/$S.zsh" ] && source "$ZDOTDIR/$S.zsh"
|
N="${S//[0-9\-]/}"
|
||||||
|
[ -e "$ZDOTDIR/$S.pre.zsh" ] && source "$ZDOTDIR/$S.pre.zsh"
|
||||||
|
[ -e "$ZDOTDIR/$S.zsh" ] && source "$ZDOTDIR/$S.zsh"
|
||||||
[ -e "$ZDOTDIR/$S.user.zsh" ] && source "$ZDOTDIR/$S.user.zsh"
|
[ -e "$ZDOTDIR/$S.user.zsh" ] && source "$ZDOTDIR/$S.user.zsh"
|
||||||
|
[ -e "$ZDOTDIR/$N.user.zsh" ] && source "$ZDOTDIR/$N.user.zsh"
|
||||||
|
[ -e "$ZDOTDIR/$S.post.zsh" ] && source "$ZDOTDIR/$S.post.zsh"
|
||||||
done
|
done
|
||||||
|
|
||||||
true
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user