summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 6b37c3b..2c6412f 100644
--- a/etc/rc
+++ b/etc/rc
@@ -94,6 +94,9 @@ if [[ $distro == debian ]] {
export MANPATH=/var/cache/man
} else {
export MANPATH=/usr/share/man
+ if (( COLUMNS > 100 )) {
+ export MANWIDTH=100
+ }
}
MANPATH+=":/usr/local/share/man:$HOME/packages/.collected/man"
}