1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 18:10:56 +01:00
zsh/Completion/Builtins/_stat
1999-08-19 11:18:05 +00:00

14 lines
350 B
Text

#compdef stat
local expl
if [[ "$words[CURRENT-1]" = -[AH] ]]; then
_description expl array
compgen "$expl[@]" -A
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