summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc8
1 files changed, 3 insertions, 5 deletions
diff --git a/.zshrc b/.zshrc
index 15ed2e8..890bfe4 100644
--- a/.zshrc
+++ b/.zshrc
@@ -22,13 +22,11 @@ alias ll='ls -AFGl'
alias ls='ls -AG'
alias ya='rlwrap yaegi'
-export MANWIDTH=92
-
# Functions
man() {
- local width=$(tput cols)
- [ $width -gt $MANWIDTH ] && width=$MANWIDTH
- env MANWIDTH=$width man "$@"
+ local width=''
+ [ $(tput cols) -gt 88 ] && width='MANWIDTH=88'
+ env $width man "$@"
}
meteo() {