mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-11-04 07:21:06 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			219 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			219 B
		
	
	
	
		
			Text
		
	
	
	
	
	
#compdef -condition-
 | 
						|
 | 
						|
local prev="$words[CURRENT-1]"
 | 
						|
 | 
						|
if [[ "$prev" = -o ]]; then
 | 
						|
  _options
 | 
						|
elif [[ "$prev" = -([no]t|ef) ]]; then
 | 
						|
  _files
 | 
						|
else
 | 
						|
  local ret=1
 | 
						|
 | 
						|
  _files && ret=0
 | 
						|
  _parameters && ret=0
 | 
						|
 | 
						|
  return ret
 | 
						|
fi
 |