Fixing the command “man” in OSX

apple-imageThe command ‘man’ in terminal has an annoying feature: it clears the screen on exit. So if you find a command line switch you want to try, when you exit man the detail all disappears.

To correct this, change the following line in /private/etc/man.conf:

PAGER    /usr/bin/less -is

to

PAGER    /usr/bin/less -isX
2

2 thoughts on “Fixing the command “man” in OSX

Comments are closed.