mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	Remove "Warning:" lines from phing targets list. Warning lines are returned by phing when a target has no tasks or dependencies. # Conflicts: # plugins/phing/phing.plugin.zsh
		
			
				
	
	
		
			8 lines
		
	
	
		
			209 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			209 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
_phing () {
 | 
						|
  if [ -f build.xml ]; then
 | 
						|
    compadd $(phing -l|grep -v "\[property\]"|grep -v "Buildfile"|sed 1d|grep -v ":$" |grep -v "^\-*$"|grep -v "Warning:"|awk '{print $1}')
 | 
						|
  fi
 | 
						|
}
 | 
						|
 | 
						|
compdef _phing phing
 |