From a1c3043a5f4730e3af6d1656d3b18ca9c7b6c5e9 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 15 Jun 2023 10:29:27 +1000 Subject: [PATCH 1/2] Alias for tunneling kubectl through local proxy --- config/zsh/interactive/aliases | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/zsh/interactive/aliases b/config/zsh/interactive/aliases index 29b86ef..c2de835 100644 --- a/config/zsh/interactive/aliases +++ b/config/zsh/interactive/aliases @@ -22,3 +22,5 @@ alias cdu=cd-gitroot # make sure ELinks can detect when it's in tmux alias elinks="STY= elinks" + +alias bubectl="HTTPS_PROXY=localhost:8888 kubectl" From a86c8f0ea980c537386e82eba5f3b3ec3b9a9b35 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 15 Jun 2023 10:30:01 +1000 Subject: [PATCH 2/2] Add Google Cloud SDK bins to path --- config/zsh/login/path | 1 + 1 file changed, 1 insertion(+) diff --git a/config/zsh/login/path b/config/zsh/login/path index be405a1..828ae73 100644 --- a/config/zsh/login/path +++ b/config/zsh/login/path @@ -5,6 +5,7 @@ if (( $+commands[brew] )); then /usr/local/opt/coreutils/libexec/gnubin /usr/local/sbin ~/Library/Python/*/bin(N) + /usr/local/share/google-cloud-sdk/bin $path ) fi