feat(shell): replace pager with ov, add logs browser, and auto-generate paru wrapper #25
Reference in New Issue
Block a user
Delete Branch "feat/ov-pager-logs-and-wrappers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
$PAGERis now set toovinconfig.fish(falls back toless). Thelesswrapper implements a full fallback hierarchy ($PAGER → ov → less → more → cat), so any caller — shell functions, git, man — benefits automatically.LESS=-Rremoved.logsfunction: Interactive fzf browser for terminal logs (scrollbackandparucategories), sorted newest-first.Enteropens in$PAGER,Ctrl-Eopens in$EDITOR,-c <category>filters.claudewrapper: Auto-injects--remote-controlinto everyclaudeinvocation unless the flag is already present.conf.d/paru-wrapper.fish: Auto-generates~/.local/bin/paru(the logging/tee wrapper) on first interactive shell start when/usr/bin/paruis installed. A version marker ensures the wrapper is regenerated automatically when the template changes.README.mdandrequirements.mdupdated — new Pager integration section,logs/claudeadded to function tables,paru-wrapper.fishadded toconf.dstructure listing,most→oveverywhere.Manual Verification
echo $PAGER— should printovifovis installed,lessotherwiseless README.md— should open inov(or the pager hierarchy fallback)logs— fzf list of log files should appear; pressEnteron one and confirm it opens inov; pressCtrl-Eand confirm it opens in$EDITOR; runlogs -c scrollbackand confirm only scrollback entries are shownclaude --helpand confirm--remote-controlappears in the invocation (check withclaude --versionor observe the flag is passed); runclaude --remote-control somethingand confirm it is not duplicated~/.local/bin/paruexists and containsparu-wrapper-version: 1; runparu --versionand confirm it routes through the wrapper (a timestamped.logfile should appear in$SCROLLBACK_HISTORY_DIR)