mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Wrap vmstat
This commit is contained in:
7
dotfiles/zshrc.d/vmstat.zsh
Normal file
7
dotfiles/zshrc.d/vmstat.zsh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
function vmstat {
|
||||||
|
local _extra_args
|
||||||
|
if [ "$(tput cols)" -gt 80 ] ; then
|
||||||
|
_extra_args="-w"
|
||||||
|
fi
|
||||||
|
command vmstat ${_extra_args} "$@"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user