about summary refs log tree commit diff
path: root/Completion/Builtins/_stat
blob: 322f042ec1fd191faf1826ab4bfa8d4662d20e7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#compdef stat

local expl

if [[ "$words[CURRENT-1]" = -[AH] ]]; then
  _arrays
else
  _description expl 'inode element'
  [[ "$PREFIX[1]" = + ]] &&
      compadd "$expl[@]" - +device +inode +mode +nlink +uid +gid +rdev +size \
                           +atime +mtime +ctime +blksize +block +link
  _files
fi