Настройка личных данных

This commit is contained in:
2026-04-11 11:27:53 +03:00
parent f1206eafb3
commit 8174cbb120
2 changed files with 26 additions and 22 deletions

3
.gitignore vendored
View File

@@ -6,3 +6,6 @@
.zcompdump*
*.zwc
!apps.d
!net.d
secrets.d/*

7
.zshrc
View File

@@ -21,8 +21,7 @@ for S in \
78-keybindings \
82-completion \
88-prompt \
95-finish
do
95-finish; do
N="${S//[0-9\-]/}"
if [[ -r "$ZDOTDIR/$S.pre.zsh" ]]; then source "$ZDOTDIR/$S.pre.zsh"; fi
if [[ -r "$ZDOTDIR/$S.zsh" ]]; then source "$ZDOTDIR/$S.zsh"; fi
@@ -34,5 +33,7 @@ done
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
# 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