From a50eb88b88028b90152d87001e8d5e77b2545b7b Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 17 Apr 2022 16:55:01 +0200 Subject: [PATCH] Update zsh configuration --- zshenv | 3 +++ zshrc | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/zshenv b/zshenv index a5ad0b3..5fe4c03 100644 --- a/zshenv +++ b/zshenv @@ -31,6 +31,9 @@ export PGUSER=postgres export BROWSER=none export FAST_REFRESH=false +# k8s +export KUBECONFIG=$HOME/.kube/config:$HOME/.kube/config-do + # See `installdotfiles`: if [ -f "$ZDOTDIR/.zshsecrets" ]; then source "$ZDOTDIR/.zshsecrets" diff --git a/zshrc b/zshrc index a581b8a..4a53d14 100644 --- a/zshrc +++ b/zshrc @@ -3,7 +3,7 @@ setopt hist_find_no_dups setopt extended_history -setopt inc_append_history +setopt share_history setopt auto_pushd setopt pushd_ignore_dups setopt pushd_silent @@ -76,8 +76,10 @@ alias gp="git push" alias gst="git status" alias gt="go test" alias gta="go test ./..." +alias h="helm" alias ji="jira -b" alias k="kubectl" +alias ksc='kubectl config use-context $(kubectl config get-contexts -o name | fzf)' alias k9="kill -9" alias ll="exa -l --group-directories-first --git" alias ls="exa --color=auto"