Commit Graph
2 Commits
Author SHA1 Message Date
David F GliddenandClaude e7bb361bd2 ✨ Perfect man page viewer with optimal side-by-side layout
## Enhanced man function following Prime Directive principles
- **Durable**: Robust cross-terminal support (kitty/tmux/iTerm)
- **Thoughtful**: Optimal 60/40 split (~100 chars CLI, ~64 chars reading)
- **Lasting**: Clean code, proper error handling, graceful fallbacks

### Key Features
- Beautiful syntax highlighting with Nord theme
- Responsive width adaptation via MANWIDTH
- Kitty remote control with proper resize shortcuts
- Clean traditional appearance (no line numbers)
- Stays open until user dismisses

### Technical Improvements
- Uses /usr/bin/man explicitly to prevent recursion
- Proper environment detection and fallback chain
- Added kitty resize shortcuts to config
- Removed debug output for clean UX

### Files Updated
- shell/functions.zsh: Complete man() rewrite
- config/kitty/kitty.conf: Added resize shortcuts
- shell/aliases.zsh: Batman alias compatibility
- Cleanup of merged files and plugin updates

μέτρον γὰρ καὶ συμμετρία - measure, proportion, and what is fitting

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 21:44:41 +02:00
David F GliddenandClaude 546e43fc64 Refactor shell configuration following prime directive principles
🎯 Comprehensive refinement addressing durability and maintainability:

**Modular Architecture:**
- environment.zsh: Centralized environment variables with XDG compliance
- paths.zsh: Intelligent PATH management with existence checking
- aliases.zsh: Enhanced aliases with tool fallbacks and context awareness
- functions.zsh: Sophisticated functions with error handling and recovery
- .zshrc: Clean main config with graceful degradation

**Key Improvements:**
- ✅ Fixed PATH duplication and made portable
- ✅ Added graceful dependency handling throughout
- ✅ Enhanced vault/chamber/work context integration
- ✅ Comprehensive error recovery in sysupdate()
- ✅ Intelligent tool detection and fallbacks
- ✅ Performance optimizations for different shell modes

**Philosophy Applied:**
- μέτρον (measure): Right amount of features without bloat
- συμμετρία (proportion): Balanced modular structure
- πρόσφορον (fitting): Portable, maintainable, testable

**Testing:**
- Syntax validation for all modules
- Function loading verification
- Isolated test environment
- Ready for production deployment

🤖 Generated with Claude Code (https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-27 14:01:23 +02:00