mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			326 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			326 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #compdef gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii ghostview mgv ggv pstoedit pstotgif
 | |
| 
 | |
| local expl ext
 | |
| 
 | |
| # ghostscript:
 | |
| #  gs gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii
 | |
| 
 | |
| if [[ "$1" == '-z' ]]; then
 | |
|   ext='(|.gz|.Z)'
 | |
|   shift
 | |
| fi
 | |
| 
 | |
| _description files expl 'PostScript or PDF file'
 | |
| _files "$@" "$expl[@]" -g "*.(#i)(pdf|ps|eps)$ext"
 |