mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-03 20:18:10 +00:00 
			
		
		
		
	disable proxy kubectl aliasses
This commit is contained in:
		
							parent
							
								
									c0d2164561
								
							
						
					
					
						commit
						cd3666fba7
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -135,11 +135,11 @@ source ${ZSH}/oh-my-zsh.sh
 | 
			
		|||
# alias ohmyzsh="mate ~/.oh-my-zsh"
 | 
			
		||||
[[ -f {{@@ env['HOME'] @@}}/.files/dotdrop.sh ]] && alias dotdrop='eval $(grep -v "^#" {{@@ env['HOME'] @@}}/.files/.env.public) {{@@ env['HOME'] @@}}/.files/dotdrop.sh'
 | 
			
		||||
[[ $(command -v thefuck) ]] && eval $(thefuck --alias)
 | 
			
		||||
{%@@ if profile == 'AINCRAD-wsl' or profile == 'YOETUNHEIMR-wsl' @@%}
 | 
			
		||||
#{%@@ if profile == 'AINCRAD-wsl' or profile == 'YOETUNHEIMR-wsl' @@%}
 | 
			
		||||
# Use https://github.com/jgaa/shinysocks as simple socks5 proxy for windows
 | 
			
		||||
[[ $(command -v kubectl) ]] && alias proxy_kubectl="http_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 https_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 kubectl"
 | 
			
		||||
[[ $(command -v kubectl) ]] && alias pk='proxy_kubectl'
 | 
			
		||||
{%@@ endif @@%}
 | 
			
		||||
#[[ $(command -v kubectl) ]] && alias proxy_kubectl="http_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 https_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 kubectl"
 | 
			
		||||
#[[ $(command -v kubectl) ]] && alias pk='proxy_kubectl'
 | 
			
		||||
#{%@@ endif @@%}
 | 
			
		||||
 | 
			
		||||
# Initialize pyenv
 | 
			
		||||
[[ $(command -v pyenv) ]] && eval "$(pyenv init -)"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue