mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-04 04:28:11 +00:00 
			
		
		
		
	include go binary path into PATH when existing
This commit is contained in:
		
							parent
							
								
									a866f77373
								
							
						
					
					
						commit
						c0027783db
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -17,6 +17,8 @@ export ANSIBLE_NOCOWS=1
 | 
			
		|||
# Include ~/.local/bin to PATH
 | 
			
		||||
[[ -d "{{@@ env['HOME'] @@}}/.local/bin" ]] && export PATH="{{@@ env['HOME'] @@}}/.local/bin:${PATH}"
 | 
			
		||||
 | 
			
		||||
# Include $(go env GOPATH) to PATH
 | 
			
		||||
[[ $(command -v go) ]] && [[ -d "$(go env GOPATH)/bin" ]] && export PATH="$(go env GOPATH)/bin:${PATH}"
 | 
			
		||||
 | 
			
		||||
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
 | 
			
		||||
# Connect to windows ssh pageant
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue