summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-11-09 12:46:07 +0000
committerAlan Pearce2013-11-09 12:46:07 +0000
commit047826207bfdde0d530b608186410cf48c780155 (patch)
tree69494cf27754d0daff61985eab92d32627a426cb
parenteb56977552cce9ade5f215ae78a700e74da67341 (diff)
downloadnixfiles-047826207bfdde0d530b608186410cf48c780155.tar.lz
nixfiles-047826207bfdde0d530b608186410cf48c780155.tar.zst
nixfiles-047826207bfdde0d530b608186410cf48c780155.zip
zsh: Fix FreeBSD pkg UPDATING check
-rwxr-xr-xzsh/freebsd.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/freebsd.zsh b/zsh/freebsd.zsh
index 62612611..63f6b8b5 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"