diff options
Diffstat (limited to 'tag-zsh/config/zsh/freebsd.zsh')
-rwxr-xr-x | tag-zsh/config/zsh/freebsd.zsh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/freebsd.zsh b/tag-zsh/config/zsh/freebsd.zsh new file mode 100755 index 00000000..6ca0f8d6 --- /dev/null +++ b/tag-zsh/config/zsh/freebsd.zsh @@ -0,0 +1,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" |