1
0
Fork 0

Compare commits

..

No commits in common. "3673398c08c24ec3bedc990fd868d42ad6f20859" and "85a9762841c4fa57e04d8cef5f7792d2f8bb6386" have entirely different histories.

3 changed files with 1 additions and 8 deletions

View File

@ -13,7 +13,3 @@ gpg-connect-agent updatestartuptty /bye >/dev/null
# keychain (for ssh agent) # keychain (for ssh agent)
eval $(keychain --eval --quiet --noask --nogui) eval $(keychain --eval --quiet --noask --nogui)
export GOPATH="$HOME/go"
export PATH="$PATH:$GOPATH"

View File

@ -28,9 +28,6 @@ alias browsh="docker run --rm -it browsh/browsh"
# kube # kube
alias netshoot="kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot -- /bin/bash" alias netshoot="kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot -- /bin/bash"
alias kubectl="kubecolor" alias kubectl="kubecolor"
alias k="kubecolor"
alias kctx="kubectl config use-context"
alias kns="kubectl config set-context --current --namespace"
compdef kubecolor=kubectl compdef kubecolor=kubectl

View File

@ -86,7 +86,7 @@ prompt_cmd() {
# kubernetes context # kubernetes context
if which kubectl &>/dev/null; then if which kubectl &>/dev/null; then
local kubectl_context="%{$FG[008]%}[$(kubectl config current-context)|$(kubectl config view --minify -o jsonpath='{..namespace}')] " local kubectl_context="%{$FG[008]%}[$(kubectl config current-context)] "
fi fi
# name@hostname # name@hostname