🦇 Batman returns with enhanced powers

- Enhanced man function opens in new window with bat + Nord theme
- Batman alias now uses enhanced man function for muscle memory
- Added license scanner utility
- Fixed shell loading to use only dotfiles versions
- Added dotfiles/bin to PATH for custom scripts
- Removed legacy .zsh loading conflicts
- Fixed bat path issue for new shell contexts

Following prime directive: respecting muscle memory while enhancing capability

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
David F Glidden
2025-07-28 23:34:11 +02:00
co-authored by Claude
parent 389febb161
commit 9d9c0ad241
6 changed files with 134 additions and 10 deletions
+5 -3
View File
@@ -171,12 +171,14 @@ man() {
# Build the command to run in new window
local man_cmd
if command -v bat >/dev/null; then
# Ensure we have the full path to bat for new shell contexts
local bat_path=$(which bat 2>/dev/null)
if [[ -n "$bat_path" ]]; then
# Use bat for beautiful syntax highlighting with Nord theme
man_cmd="MANPAGER='bat --language=man --style=grid --color=always --theme=Nord' man ${section:+$section} '$cmd'"
man_cmd="export PATH=\"$PATH\"; MANPAGER='$bat_path --language=man --style=grid --color=always --theme=Nord' man ${section:+$section} '$cmd'"
else
# Fallback to enhanced less
man_cmd="MANPAGER='less -R' man ${section:+$section} '$cmd'"
man_cmd="export PATH=\"$PATH\"; MANPAGER='less -R' man ${section:+$section} '$cmd'"
fi
# Terminal-specific window creation