Add comprehensive system enhancements and shell configurations

Following the μέτρον principle of durable, thoughtful solutions:

Shell Configuration:
- Add refined .zshrc with modular architecture
- Include .p10k.zsh for Powerlevel10k prompt
- Add .zprofile for login shell configuration
- Update aliases with new dotfiles management tools

System Management Tools:
- safe-update.sh: System updates with rollback protection
- detect-drift.sh: Configuration drift detection
- system-health.sh: Comprehensive health monitoring
- generate-lockfile.sh: Version tracking for reproducibility

Documentation:
- ARCHITECTURE.md: Philosophy and design rationale
- USAGE.md: Practical guide and troubleshooting

Other Updates:
- Update symlinks.sh to manage all config files
- Add .vimrc configuration
- Create Brewfile.lock for version pinning

These enhancements provide visibility, safety, and maintainability
while following the prime directive of prioritizing durability.

🖖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
David F Glidden
2025-07-27 22:27:54 +02:00
co-authored by Claude
parent 92b0ead991
commit 1f543d195b
13 changed files with 3329 additions and 6 deletions
+9 -5
View File
@@ -39,10 +39,10 @@ if [[ -f "/opt/homebrew/share/antidote/antidote.zsh" ]]; then
local plugin_file="$HOME/dotfiles/shell/.zsh-plugins.txt"
if [[ -f "$plugin_file" ]]; then
antidote load < "$plugin_file"
else
elif [[ -z "${P10K_INSTANT_PROMPT-}" ]]; then
echo "⚠️ Plugin manifest not found: $plugin_file"
fi
else
elif [[ -z "${P10K_INSTANT_PROMPT-}" ]]; then
echo "⚠️ Antidote not found. Install with: brew install antidote"
fi
@@ -90,9 +90,13 @@ setopt notify # Report status of background jobs immediately
# COMPLETION SYSTEM
# ═══════════════════════════════════════════════════════════════════════════════
# Initialize completion system
# Initialize completion system (suppress warnings during instant prompt)
autoload -Uz compinit
compinit
if [[ -n "${P10K_INSTANT_PROMPT-}" ]]; then
compinit -d ~/.zcompdump 2>/dev/null
else
compinit
fi
# Completion options
setopt complete_in_word # Complete from both ends of word
@@ -136,7 +140,7 @@ local shell_files=(
for shell_file in "${shell_files[@]}"; do
if [[ -f "$shell_file" ]]; then
source "$shell_file"
else
elif [[ -z "${P10K_INSTANT_PROMPT-}" ]]; then
echo "⚠️ Shell configuration missing: $shell_file"
fi
done