Настройка личных данных
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -6,3 +6,6 @@
|
|||||||
.zcompdump*
|
.zcompdump*
|
||||||
*.zwc
|
*.zwc
|
||||||
!apps.d
|
!apps.d
|
||||||
|
!net.d
|
||||||
|
secrets.d/*
|
||||||
|
|
||||||
|
|||||||
45
.zshrc
45
.zshrc
@@ -8,31 +8,32 @@ mkdir -p "$ZDOTDIR/net.d"
|
|||||||
find "$ZDOTDIR/net.d" -name "*.zsh" -print0 | sort -z | while IFS= read -r -d $'\0' net; do source "$net"; done
|
find "$ZDOTDIR/net.d" -name "*.zsh" -print0 | sort -z | while IFS= read -r -d $'\0' net; do source "$net"; done
|
||||||
|
|
||||||
for S in \
|
for S in \
|
||||||
05-start \
|
05-start \
|
||||||
15-options \
|
15-options \
|
||||||
25-history \
|
25-history \
|
||||||
42-zinit \
|
42-zinit \
|
||||||
45-plugins \
|
45-plugins \
|
||||||
55-agents \
|
55-agents \
|
||||||
62-scripts \
|
62-scripts \
|
||||||
65-vpy \
|
65-vpy \
|
||||||
68-aliases \
|
68-aliases \
|
||||||
72-widgets \
|
72-widgets \
|
||||||
78-keybindings \
|
78-keybindings \
|
||||||
82-completion \
|
82-completion \
|
||||||
88-prompt \
|
88-prompt \
|
||||||
95-finish
|
95-finish; do
|
||||||
do
|
N="${S//[0-9\-]/}"
|
||||||
N="${S//[0-9\-]/}"
|
if [[ -r "$ZDOTDIR/$S.pre.zsh" ]]; then source "$ZDOTDIR/$S.pre.zsh"; fi
|
||||||
if [[ -r "$ZDOTDIR/$S.pre.zsh" ]]; then source "$ZDOTDIR/$S.pre.zsh"; fi
|
if [[ -r "$ZDOTDIR/$S.zsh" ]]; then source "$ZDOTDIR/$S.zsh"; fi
|
||||||
if [[ -r "$ZDOTDIR/$S.zsh" ]]; then source "$ZDOTDIR/$S.zsh"; fi
|
if [[ -r "$ZDOTDIR/$S.user.zsh" ]]; then source "$ZDOTDIR/$S.user.zsh"; fi
|
||||||
if [[ -r "$ZDOTDIR/$S.user.zsh" ]]; then source "$ZDOTDIR/$S.user.zsh"; fi
|
if [[ -r "$ZDOTDIR/$N.user.zsh" ]]; then source "$ZDOTDIR/$N.user.zsh"; fi
|
||||||
if [[ -r "$ZDOTDIR/$N.user.zsh" ]]; then source "$ZDOTDIR/$N.user.zsh"; fi
|
if [[ -r "$ZDOTDIR/$S.post.zsh" ]]; then source "$ZDOTDIR/$S.post.zsh"; fi
|
||||||
if [[ -r "$ZDOTDIR/$S.post.zsh" ]]; then source "$ZDOTDIR/$S.post.zsh"; fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
mkdir -p "$ZDOTDIR/apps.d"
|
mkdir -p "$ZDOTDIR/apps.d"
|
||||||
find "$ZDOTDIR/apps.d" -name "*.zsh" -print0 | sort -z | while IFS= read -r -d $'\0' app; do source "$app"; done
|
find "$ZDOTDIR/apps.d" -name "*.zsh" -print0 | sort -z | while IFS= read -r -d $'\0' app; do source "$app"; done
|
||||||
|
|
||||||
# zprof
|
mkdir -p "$ZDOTDIR/secrets.d"
|
||||||
|
find "$ZDOTDIR/secrets.d" -name "*.zsh" -print0 | sort -z | while IFS= read -r -d $'\0' secret; do source "$secret"; done
|
||||||
|
|
||||||
|
# zprof
|
||||||
|
|||||||
Reference in New Issue
Block a user