mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -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