diff options
| author | Marc Vertes <mvertes@free.fr> | 2021-03-06 16:58:38 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2021-03-06 16:58:38 +0100 |
| commit | 9aa9c25a4d2ced1ea41d1d981b3fad9fe28a17a6 (patch) | |
| tree | 7989d5c3833d3b0ee0df9db6420b20d5bd98b94e /.zshrc | |
| parent | bcc866236cca05f6caf78a6c3d93a63c9bf19f7c (diff) | |
update
Diffstat (limited to '.zshrc')
| -rw-r--r-- | .zshrc | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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() { |
