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

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