mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 18:10:56 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			350 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			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
 |