all repos — nixfiles @ 047826207bfdde0d530b608186410cf48c780155

System and user configuration, managed by nix and home-manager

zsh: Fix FreeBSD pkg UPDATING check
Alan Pearce alan@alanpearce.co.uk
Sat, 09 Nov 2013 12:46:07 +0000
commit

047826207bfdde0d530b608186410cf48c780155

parent

eb56977552cce9ade5f215ae78a700e74da67341

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M zsh/freebsd.zshzsh/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"