| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -44,6 +44,7 @@ printf "\nStoring token in .vault-token ...\n"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					echo "${VAULT_TOKEN}" >~/.vault-token
 | 
					 | 
					 | 
					 | 
					echo "${VAULT_TOKEN}" >~/.vault-token
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					# Add VAULT_ADDR to shell login scripts if not already present e.g. .bashrc, .zshrc
 | 
					 | 
					 | 
					 | 
					# Add VAULT_ADDR to shell login scripts if not already present e.g. .bashrc, .zshrc
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					# This is a temporary fix and will be replaced with https://github.com/coder/coder/issues/10166
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					# bash
 | 
					 | 
					 | 
					 | 
					# bash
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					if [[ -f ~/.bashrc ]] && ! grep -q "VAULT_ADDR" ~/.bashrc; then
 | 
					 | 
					 | 
					 | 
					if [[ -f ~/.bashrc ]] && ! grep -q "VAULT_ADDR" ~/.bashrc; then
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    printf "\nAdding VAULT_ADDR to ~/.bashrc ...\n"
 | 
					 | 
					 | 
					 | 
					    printf "\nAdding VAULT_ADDR to ~/.bashrc ...\n"
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |