diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-12-19 13:56:22 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-12-19 13:56:22 +0100 |
commit | 7858d0eeca0f54221f35c8b7a45fbbc1afcac92d (patch) | |
tree | ca126a8c83b6bdee08aa49fdc9d2ebb3fc3e621d | |
parent | 7bc92a3d3fcfd0a2adc93c774b6fa5d8ebdb9095 (diff) |
zshrc: Set MANWIDTH if the terminal is rather wide
-rw-r--r-- | etc/rc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" } |