blob: d0ec85550602b0eb4a67b1a8d654827a540d4a94 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#compdef stat
local expl
if [[ "$words[CURRENT-1]" = -[AH] ]]; then
_arrays
else
_tags options files || return 1
while _tags; do
_requested options expl 'inode element' &&
{ ! _style options prefix-needed || [[ "$PREFIX[1]" = + ]] } &&
compadd "$expl[@]" - +device +inode +mode +nlink +uid +gid +rdev \
+size +atime +mtime +ctime +blksize +block +link
fi
_requested files && _files
done
fi
|