summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
authorAlan Pearce2013-11-09 12:46:07 +0000
committerAlan Pearce2013-11-09 12:46:07 +0000
commit047826207bfdde0d530b608186410cf48c780155 (patch)
tree69494cf27754d0daff61985eab92d32627a426cb /zsh
parenteb56977552cce9ade5f215ae78a700e74da67341 (diff)
downloaddotfiles-047826207bfdde0d530b608186410cf48c780155.tar.lz
dotfiles-047826207bfdde0d530b608186410cf48c780155.tar.zst
dotfiles-047826207bfdde0d530b608186410cf48c780155.zip
zsh: Fix FreeBSD pkg UPDATING check
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/freebsd.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/freebsd.zsh b/zsh/freebsd.zsh
index 6261261..63f6b8b 100755
--- a/zsh/freebsd.zsh
+++ b/zsh/freebsd.zsh
@@ -3,6 +3,6 @@ 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}' )
+	pkg updating -d $( ls -ltr -D '%Y%m%d' /var/db/pkg | awk 'END{print $6}' )
 }
 alias iotop="top -m io -o total"