feat: update AGENTS.md and config.toml for chezmoi integration; enhance dot_zshrc with fastfetch support

This commit is contained in:
Dmitry
2026-05-13 23:04:10 +03:00
parent 07ef30e604
commit a0db9cd076
3 changed files with 94 additions and 50 deletions
+6 -2
View File
@@ -2,6 +2,11 @@
# Ada's Modular ZSH Configuration
# ════════════════════════════════════════════════════════════
# ═══ Fastfetch ══════════════════════════════════════════════
if [[ -o interactive && -z "$TMUX" && -n "$KITTY_WINDOW_ID" ]] && command -v fastfetch &>/dev/null; then
fastfetch
fi
# ═══ Powerlevel10k Instant Prompt ══════════════════════════
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
@@ -32,8 +37,7 @@ source "${ZSH_CONFIG_DIR}/prompt.zsh"
[[ -f "${ZDOTDIR}/.p10k.zsh" ]] && source "${ZDOTDIR}/.p10k.zsh"
# ═══ Fastfetch ══════════════════════════════════════════════
[[ -z "$TMUX" && "$TERM_PROGRAM" == "kitty" ]] && fastfetch
autoload -Uz add-zsh-hook
# ═══ Напоминания ════════════════════════════════════════════
# Запускаем после первого промпта, чтобы не конфликтовать с p10k instant prompt