mirror of
https://github.com/shokinn/.files.git
synced 2025-01-19 05:22:25 +00:00
disable proxy kubectl aliasses
This commit is contained in:
parent
c0d2164561
commit
cd3666fba7
|
@ -135,11 +135,11 @@ source ${ZSH}/oh-my-zsh.sh
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# 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'
|
[[ -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)
|
[[ $(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
|
# 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 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'
|
#[[ $(command -v kubectl) ]] && alias pk='proxy_kubectl'
|
||||||
{%@@ endif @@%}
|
#{%@@ endif @@%}
|
||||||
|
|
||||||
# Initialize pyenv
|
# Initialize pyenv
|
||||||
[[ $(command -v pyenv) ]] && eval "$(pyenv init -)"
|
[[ $(command -v pyenv) ]] && eval "$(pyenv init -)"
|
||||||
|
|
Loading…
Reference in a new issue