summary refs log tree commit diff stats
path: root/zsh/freebsd.zsh
blob: 6ca0f8d69d288261f01e091b30c08387eb182cf8 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env zsh
function update-check () {
	sudo portsnap update
	sudo portmaster -L --index-only | awk '/ [Nn]ew / { print substr($0,9,9999) }'
	sudo pkg audit
	pkg updating -d $( ls -ltr -D '%Y%m%d' /var/db/pkg | awk 'END{print $6}' )
}
alias iotop="top -m io -o total"