4 ms·
It tries to do something for me but fails, on Ventura. Seems to just be a short script: which man-preview man-preview () { man -w "$@" &> /dev/null && man -
by bombcar 4y ago
It tries to do something for me but fails, on Ventura.
Seems to just be a short script:
which man-preview
man-preview () {
man -w "$@" &> /dev/null && man -t "$@" | open -f -a Preview || man "$@"
}
- heckman 4y agoIt looks like it's trying to pipe PostScript to Preview, which as of Ventura, no longer supports PostScript.
- heckman 4y agoI've just now fixed it by passing the PostScript through ghostscript's ps2pdf: man-preview () { man -w "$@" &> /dev/null && man -t "$@" | ps2pdf - - | open -f -a Preview || man "$@" }