summary refs log tree commit diff stats
path: root/zsh/freebsd.zsh
blob: 62612611e8d9fea1f115769e06a4d8c6f8fd11eb (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 portaudit -Fa -X 1
	pkg_updating -d $( ls -ltr -D '%Y%m%d' /var/db/pkg | awk 'END{print $6}' )
}
alias iotop="top -m io -o total"