From 4a1549e058ac25d7ea9d2821292eeb5a3eefdd55 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sat, 2 Jun 2007 17:52:10 +0000 Subject: unposted: more uses of zstat --- Functions/Example/zls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions/Example') diff --git a/Functions/Example/zls b/Functions/Example/zls index 30a8fb9ed..f03ec0952 100644 --- a/Functions/Example/zls +++ b/Functions/Example/zls @@ -1,7 +1,7 @@ # zls () { # simple internal ls using the stat module -zmodload -i zsh/stat || return 1 +zmodload -F zsh/stat b:zstat || return 1 emulate -R zsh setopt localoptions @@ -49,7 +49,7 @@ fi for f in $* do - stat -s$L -H stat -F "%b %e %H:%M" - $f || continue + zstat -s$L -H stat -F "%b %e %H:%M" - $f || continue if [[ $opts != *d* && $stat[mode] == d* ]] then dirs=( $dirs $f ) elif [[ $opts == *l* ]] then -- cgit 1.4.1