about summary refs log tree commit diff
path: root/Completion/Builtins
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-16 09:19:32 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-16 09:19:32 +0000
commita4054ed26295617a5c4914daa1b76f9d4781be12 (patch)
treea0e219a308a5d89024c841e6dd37401a09ddfa61 /Completion/Builtins
parentf6df6307ead281818ce6d469f55a3e807c877c3e (diff)
downloadzsh-a4054ed26295617a5c4914daa1b76f9d4781be12.tar.gz
zsh-a4054ed26295617a5c4914daa1b76f9d4781be12.tar.xz
zsh-a4054ed26295617a5c4914daa1b76f9d4781be12.zip
zsh-workers/8647
Diffstat (limited to 'Completion/Builtins')
-rw-r--r--Completion/Builtins/_hash2
-rw-r--r--Completion/Builtins/_sched2
-rw-r--r--Completion/Builtins/_stat4
3 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Builtins/_hash b/Completion/Builtins/_hash
index e5f182528..3cb364d12 100644
--- a/Completion/Builtins/_hash
+++ b/Completion/Builtins/_hash
@@ -10,7 +10,7 @@ if [[ "$words[2]" = -*d* ]]; then
         compadd "$expl[@]" -q -S '=' - "${(@k)nameddirs}"
   fi
 elif compset -P 1 '*\='; then
-  _wanted -C value values executables expl 'executable file' &&
+  _wanted -C value values expl 'executable file' &&
       _files "$expl[@]" -g '*(*)'
 else
   _wanted -C name commands expl command &&
diff --git a/Completion/Builtins/_sched b/Completion/Builtins/_sched
index 6a327e891..164cd06e4 100644
--- a/Completion/Builtins/_sched
+++ b/Completion/Builtins/_sched
@@ -4,7 +4,7 @@ local expl lines disp
 
 if [[ CURRENT -eq 2 ]]; then
   if compset -P -; then
-    _wanted -C - entries expl 'scheduled jobs' || return 1
+    _wanted -C - jobs expl 'scheduled jobs' || return 1
 
     lines=(${(f)"$(sched)"})
     if _style entries description; then
diff --git a/Completion/Builtins/_stat b/Completion/Builtins/_stat
index 75370f991..0d72cce0b 100644
--- a/Completion/Builtins/_stat
+++ b/Completion/Builtins/_stat
@@ -5,10 +5,10 @@ local expl
 if [[ "$words[CURRENT-1]" = -[AH] ]]; then
   _arrays
 else
-  _tags elements files || return 1
+  _tags options files || return 1
 
   while _tags; do
-    _requested elements expl 'inode element' &&
+    _requested options expl 'inode element' &&
         { ! _style elements prefix-needed || [[ "$PREFIX[1]" = + ]] } &&
         compadd "$expl[@]" - +device +inode +mode +nlink +uid +gid +rdev \
                              +size +atime +mtime +ctime +blksize +block +link