mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-09 10:01:16 +02:00
moved to Completion/Zsh/Command/_stat
This commit is contained in:
parent
0c6cd454cc
commit
c72387bfca
1 changed files with 0 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
|||
#compdef stat
|
||||
|
||||
local expl ret=1
|
||||
|
||||
if [[ "$words[CURRENT-1]" = -[AH] ]]; then
|
||||
_arrays
|
||||
else
|
||||
_tags files options || return 1
|
||||
|
||||
while _tags; do
|
||||
_requested files && _files && ret=0
|
||||
_requested options &&
|
||||
{ ! zstyle -T ":completion:${curcontext}:options" prefix-needed ||
|
||||
[[ "$PREFIX[1]" = + || ret -eq 1 ]] } &&
|
||||
_all_labels options expl 'inode element' \
|
||||
compadd - +device +inode +mode +nlink +uid +gid +rdev \
|
||||
+size +atime +mtime +ctime +blksize +block +link
|
||||
(( ret )) || return 0
|
||||
done
|
||||
fi
|
Loading…
Reference in a new issue