1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-09 10:01:16 +02:00

moved to Completion/Zsh/Command/_stat

This commit is contained in:
Sven Wischnowsky 2001-04-02 11:31:00 +00:00
parent 0c6cd454cc
commit c72387bfca

View file

@ -1,20 +0,0 @@
#compdef stat
local expl ret=1
if [[ "$words[CURRENT-1]" = -[AH] ]]; then
_arrays
else
_tags files options || return 1
while _tags; do
_requested files && _files && ret=0
_requested options &&
{ ! zstyle -T ":completion:${curcontext}:options" prefix-needed ||
[[ "$PREFIX[1]" = + || ret -eq 1 ]] } &&
_all_labels options expl 'inode element' \
compadd - +device +inode +mode +nlink +uid +gid +rdev \
+size +atime +mtime +ctime +blksize +block +link
(( ret )) || return 0
done
fi