about summary refs log tree commit diff
path: root/Completion/Unix/Command/_chown
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_chown')
-rw-r--r--Completion/Unix/Command/_chown2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_chown b/Completion/Unix/Command/_chown
index 9246db42c..b4539315d 100644
--- a/Completion/Unix/Command/_chown
+++ b/Completion/Unix/Command/_chown
@@ -50,7 +50,7 @@ case $state in
   files)
     (( $+opt_args[-h] || $+opt_args[--no-dereference] )) || deref="-"
     if (( $+opt_args[--reference] )); then
-      zmodload -F zsh/stat zstat 2>/dev/null
+      zmodload -F zsh/stat b:zstat 2>/dev/null
       usr=$(zstat +uid $opt_args[--reference])
       grp=$(zstat +gid $opt_args[--reference])
       _wanted files expl file _files -g "*($deref^u$usr,$deref^g$grp)" && ret=0