summaryrefslogtreecommitdiff
path: root/Completion/Zsh/Command/_stat
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2018-08-27 13:31:04 +0200
committerAxel Beckert <abe@deuxchevaux.org>2018-08-27 13:31:04 +0200
commit719a715614f2182a76b30ad27a327d70a86f34f1 (patch)
treea437eb29da8035bf7c2e30506c08fe6f15719871 /Completion/Zsh/Command/_stat
parent7da8d19c224860ae4d6aa3f077fca7f734f20d88 (diff)
parentef61918398517473b9b594690a3be375f607cebe (diff)
downloadzsh-719a715614f2182a76b30ad27a327d70a86f34f1.tar.gz
zsh-719a715614f2182a76b30ad27a327d70a86f34f1.zip
Merge tag 'zsh-5.5.1-test-2' into debian
Test release: 5.5.1-test-2.
Diffstat (limited to 'Completion/Zsh/Command/_stat')
-rw-r--r--Completion/Zsh/Command/_stat33
1 files changed, 0 insertions, 33 deletions
diff --git a/Completion/Zsh/Command/_stat b/Completion/Zsh/Command/_stat
deleted file mode 100644
index 73bbef471..000000000
--- a/Completion/Zsh/Command/_stat
+++ /dev/null
@@ -1,33 +0,0 @@
-#compdef stat zstat
-
-local expl ret=1
-
-if [[ $service == zstat ]] ||
- (( ${+builtins[stat]} )) ||
- { (( ! ${+builtins} )) && [[ $(type -w stat) == '*: builtin' ]] }
-then
- _arguments -s -S : \
- '(-H)-A[assign the results to array, don'\''t print]:array variable:_parameters -g "*array*"' \
- - set1 \
- +device +inode +mode +nlink +uid +gid +rdev \
- +size +atime +mtime +ctime +blksize +block +link \
- '(-A)-H[assign the results to associative array, don'\''t print]:associative array variable:_parameters -g "*association*"' \
- '(:)-f[stat a file descriptor]:file descriptor:_file_descriptors' \
- '(-s)-F:strftime(3) format string:_date_formats zsh' \
- '(-s)-g[show times in GMT/UTC]' \
- '-L[don'\''t dereference symbolic links; use lstat(2)]' \
- '(-N)-n[always show names of files]' \
- '(-n)-N[never show names of files]' \
- '-o[print file modes in octal rather than decimal]' \
- '-r[print raw data]' \
- '-s[print mode,uid,gid and times as strings]' \
- '(-T)-t[always show type names]' \
- '(-t)-T[never show type names]' \
- '*:files to stat:_files' \
- - set2 \
- '-l[list stat types]'
-else
- # TODO: system-specific completion
- # TODO: choose this codepath if 'command stat ...' or '=stat ...' is used
- _files
-fi