adding bash-comp to gradle-bin
This commit is contained in:
		
							
								
								
									
										14
									
								
								dev-java/gradle-bin/files/gradle-bin.bash-completion
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								dev-java/gradle-bin/files/gradle-bin.bash-completion
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| #!/bin/bash | ||||
|   | ||||
| _gradle_complete() | ||||
| { | ||||
|     local cur tasks | ||||
|   | ||||
|     COMPREPLY=() | ||||
|     cur=${COMP_WORDS[COMP_CWORD]} | ||||
|     tasks='clean compile dists javadoc jar test war' | ||||
|     cur=`echo $cur | sed 's/\\\\//g'` | ||||
|     COMPREPLY=($(compgen -W "${tasks}" ${cur} | sed 's/\\\\//g') ) | ||||
| } | ||||
|   | ||||
| complete -F _gradle_complete -o filenames gradle | ||||
		Reference in New Issue
	
	Block a user