mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-03 20:18:10 +00:00 
			
		
		
		
	add getopt to path for my macs
This commit is contained in:
		
							parent
							
								
									2ce072c6a4
								
							
						
					
					
						commit
						59d47138ff
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -17,7 +17,10 @@ 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
 | 
			
		||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}# Include /opt/homebrew/opt/gnu-getopt/bin to PATH
 | 
			
		||||
[[ -d "/opt/homebrew/opt/gnu-getopt/bin" ]] && export PATH="/opt/homebrew/opt/gnu-getopt/bin:${PATH}"
 | 
			
		||||
 | 
			
		||||
{%@@ endif @@%}# 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' @@%}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -194,6 +194,9 @@ else
 | 
			
		|||
  local brew_path="/opt/homebrew/bin"
 | 
			
		||||
fi
 | 
			
		||||
export PATH="${brew_path}:${PATH}"
 | 
			
		||||
 | 
			
		||||
# Include /opt/homebrew/opt/gnu-getopt/bin to PATH
 | 
			
		||||
[[ -d "/opt/homebrew/opt/gnu-getopt/bin" ]] && export PATH="/opt/homebrew/opt/gnu-getopt/bin:${PATH}"
 | 
			
		||||
{%@@ endif @@%}
 | 
			
		||||
 | 
			
		||||
# Functions (or more complex aliases)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue