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:
co-authored by
Claude
parent
92b0ead991
commit
1f543d195b
+1745
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,5 @@
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
export PATH="/usr/local/bin:$PATH"
|
||||
|
||||
# Created by `pipx` on 2025-06-30 14:43:56
|
||||
export PATH="$PATH:/Users/davidglidden/.local/bin"
|
||||
+9
-5
@@ -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
|
||||
|
||||
+16
-1
@@ -179,4 +179,19 @@ alias cleanup='deep_clean' # References function in functions.zsh
|
||||
|
||||
# Quick dotfiles management
|
||||
alias dotfiles-backup='$DOTFILES_PATH/bin/backup-dotfiles'
|
||||
alias dotfiles-status='$DOTFILES_PATH/bin/check-app-configs'
|
||||
alias dotfiles-status='$DOTFILES_PATH/bin/check-app-configs'
|
||||
|
||||
# ═══════════════════════════════════════════════════════════════════════════════
|
||||
# X. DOTFILES SYSTEM TOOLS
|
||||
# ═══════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
# Health monitoring and maintenance
|
||||
alias health='~/dotfiles/scripts/system-health.sh'
|
||||
alias drift='~/dotfiles/scripts/detect-drift.sh'
|
||||
alias lockfile='~/dotfiles/scripts/generate-lockfile.sh'
|
||||
alias safe-update='~/dotfiles/scripts/safe-update.sh'
|
||||
|
||||
# Quick health checks
|
||||
alias health-monitor='~/dotfiles/scripts/system-health.sh monitor'
|
||||
alias health-json='~/dotfiles/scripts/system-health.sh json'
|
||||
alias drift-quiet='~/dotfiles/scripts/detect-drift.sh --quiet'
|
||||
Reference in New Issue
Block a user