Wrap vmstat

This commit is contained in:
David Tomaschik
2021-02-05 15:55:50 -08:00
parent e6e66b0d05
commit b37f95383c

View File

@@ -0,0 +1,7 @@
function vmstat {
local _extra_args
if [ "$(tput cols)" -gt 80 ] ; then
_extra_args="-w"
fi
command vmstat ${_extra_args} "$@"
}