mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
11 lines
243 B
Plaintext
11 lines
243 B
Plaintext
|
#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
|