summary refs log tree commit diff stats
path: root/zsh/freebsd.zsh
blob: 63f6b8b59072ebdbd99cf431267ff441816ce027 (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"