]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/colored-man-pages/nroff
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / colored-man-pages / nroff
1 #!/bin/sh
2
3 # The whole point of this wrapper is to replace emboldening factor -u0 with
4 # -u1 under certain circumstances on Solaris.
5
6 if [ "$1,$2,$3" = "-u0,-Tlp,-man" ]; then
7   shift
8   exec /usr/bin/nroff -u1 "$@"
9 else
10   # Some other invocation of nroff
11   exec /usr/bin/nroff "$@"
12 fi