summary refs log tree commit diff stats
path: root/zsh/freebsd.zsh
diff options
context:
space:
mode:
authorAlan Pearce2013-11-01 07:49:20 +0000
committerAlan Pearce2013-11-01 07:49:20 +0000
commit7d8493f63daf93beb4c82d0c9602fc21974daca7 (patch)
treebf5e3f99492e93ad4005ab35f74749bfbbf76589 /zsh/freebsd.zsh
parent6d996c60ff93d5c9ff01015e89b5932eb190eafc (diff)
downloaddotfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.tar.lz
dotfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.tar.zst
dotfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.zip
zsh: rename auxillary files with extension
Diffstat (limited to 'zsh/freebsd.zsh')
-rwxr-xr-xzsh/freebsd.zsh8
1 files changed, 8 insertions, 0 deletions
diff --git a/zsh/freebsd.zsh b/zsh/freebsd.zsh
new file mode 100755
index 0000000..6261261
--- /dev/null
+++ b/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 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"