Hopefully fix shells dying unexpectedly

Shells seem to be dying if they run a program like less, or man, or git,
or anything that uses a less-like pager. This might fix it.