#!/bin/bash # Render the Bernina terminal cheat sheet with glow, wrapped to the # actual terminal width (glow can't auto-detect this once piped), # and pipe through less for real /search + scrolling. glow -w "$(tput cols 2>/dev/null || echo 100)" /sf/bernina/bin/cheatsheet.md | less -R