summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-06-03 09:30:56 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-06-03 09:30:56 +0000
commita46bb7f49d27960142697645ec5d975a872e987c (patch)
tree415dc59867c94d0bfe62b6b73a4daad42b320cc0 /Completion/Unix
parente6027db32634e459510ab02a6ffbd9df68599bc3 (diff)
downloadzsh-a46bb7f49d27960142697645ec5d975a872e987c.tar.gz
zsh-a46bb7f49d27960142697645ec5d975a872e987c.tar.xz
zsh-a46bb7f49d27960142697645ec5d975a872e987c.zip
25131: typo with b:zstat loading zstat
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_chmod2
-rw-r--r--Completion/Unix/Command/_chown2
-rw-r--r--Completion/Unix/Command/_cvs2
-rw-r--r--Completion/Unix/Type/_list_files2
4 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_chmod b/Completion/Unix/Command/_chmod
index 84013d591..6cb310d57 100644
--- a/Completion/Unix/Command/_chmod
+++ b/Completion/Unix/Command/_chmod
@@ -54,7 +54,7 @@ case "$state" in
   ;;
   files)
     if [[ -n $opt_args[--reference] ]]; then
-      zmodload -F zsh/stat zstat 2>/dev/null
+      zmodload -F zsh/stat b:zstat 2>/dev/null
       typeset -i8 ref=$(zstat +mode $opt_args[--reference])
       _wanted files expl file _files -g "*(-.^f${ref#??})" && ret=0
     elif [[ $words[2] = [0-7]## ]]; then
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
diff --git a/Completion/Unix/Command/_cvs b/Completion/Unix/Command/_cvs
index 01edbd30e..9b8eb0c4e 100644
--- a/Completion/Unix/Command/_cvs
+++ b/Completion/Unix/Command/_cvs
@@ -561,7 +561,7 @@ _cvs_watchers() {
 _cvs_loadstat() {
   (( $+_cvs_loadstat_status )) && return $_cvs_loadstat_status
 
-  zmodload -F zsh/stat zstat 2>/dev/null
+  zmodload -F zsh/stat b:zstat 2>/dev/null
   (( _cvs_loadstat_status = ! $+builtins[zstat] ))
   return $_cvs_loadstat_status
 }
diff --git a/Completion/Unix/Type/_list_files b/Completion/Unix/Type/_list_files
index bcb42907d..e04392d1d 100644
--- a/Completion/Unix/Type/_list_files
+++ b/Completion/Unix/Type/_list_files
@@ -46,7 +46,7 @@ done
 
 (( ok )) || return 1
 
-zmodload -F zsh/stat zstat 2>/dev/null || return 1
+zmodload -F zsh/stat b:zstat 2>/dev/null || return 1
 
 dir=${2:+$2/}
 dir=${(Q)dir}