Add setup_android function
This commit is contained in:
		
							parent
							
								
									e1ef52f53f
								
							
						
					
					
						commit
						0d2ddbed39
					
				
					 1 changed files with 15 additions and 0 deletions
				
			
		
							
								
								
									
										15
									
								
								zsh/func/setup_android
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								zsh/func/setup_android
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
#!/usr/bin/zsh
 | 
			
		||||
#
 | 
			
		||||
# Setup the shell for Android development
 | 
			
		||||
#
 | 
			
		||||
# Eryn Wells <eryn@erynwells.me>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
function setup_android
 | 
			
		||||
{
 | 
			
		||||
    export ANDROID_ROOT="$HOME/toolchain/android/sdk-r22.0.4"
 | 
			
		||||
    path=("$ANDROID_ROOT/platform-tools" "$ANDROID_ROOT/tools" $path)
 | 
			
		||||
    rehash
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
setup_android $@
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue