mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-03 20:18:10 +00:00 
			
		
		
		
	add alias for proxified kubectl (proxy_kubectl, pk)
This commit is contained in:
		
							parent
							
								
									38871ce2d4
								
							
						
					
					
						commit
						6bc243e5ef
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -124,6 +124,9 @@ source $ZSH/oh-my-zsh.sh
 | 
			
		|||
# alias ohmyzsh="mate ~/.oh-my-zsh"
 | 
			
		||||
alias dotdrop='eval $(grep -v "^#" ~/.files/.env.public) ~/.files/dotdrop.sh'
 | 
			
		||||
eval $(thefuck --alias)
 | 
			
		||||
# Use https://github.com/jgaa/shinysocks as simple socks5 proxy for windows
 | 
			
		||||
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"
 | 
			
		||||
alias pk='proxy_kubectl'
 | 
			
		||||
 | 
			
		||||
# Enable pipx completions
 | 
			
		||||
if [ -f "$HOME/.local/bin/pipx" ]; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue