mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-03 20:18:10 +00:00 
			
		
		
		
	use gnu-getop, when installed via brew
This commit is contained in:
		
							parent
							
								
									c2fb37e781
								
							
						
					
					
						commit
						240e01257d
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -20,6 +20,9 @@ export ANSIBLE_NOCOWS=1
 | 
			
		|||
# Include $(go env GOPATH) to PATH
 | 
			
		||||
[[ $(command -v go) ]] && [[ -d "$(go env GOPATH)/bin" ]] && export PATH="$(go env GOPATH)/bin:${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}"
 | 
			
		||||
 | 
			
		||||
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
 | 
			
		||||
# Connect to windows ssh pageant
 | 
			
		||||
# https://github.com/BlackReloaded/wsl2-ssh-pageant
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -199,6 +199,9 @@ export PATH="${brew_path}:${PATH}"
 | 
			
		|||
# Functions (or more complex aliases)
 | 
			
		||||
source {{@@ env['HOME'] @@}}/.commonfunc
 | 
			
		||||
 | 
			
		||||
# 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}"
 | 
			
		||||
 | 
			
		||||
{%@@ if profile == 'ymir' @@%}
 | 
			
		||||
autoload -Uz compinit
 | 
			
		||||
zstyle ':completion:*' menu select
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue