diff --git a/.functions.sh b/.functions.sh index 8943ad9..b32e62a 100644 --- a/.functions.sh +++ b/.functions.sh @@ -1,5 +1,9 @@ #!/bin/bash +function kube_gbt(){ + export GBT_CARS='OS, Custom4, Git, Kubectl, Dir, Custom1, Custom2, Custom3, PyVirtEnv, Status, Sign' +} + function k3sudo(){ # create a passwordless sudo rule on target # usage: k3sudo [add, del] diff --git a/.gbt.sh b/.gbt.sh index d8e3d43..9c6a78b 100644 --- a/.gbt.sh +++ b/.gbt.sh @@ -24,6 +24,8 @@ export GBT_CAR_CUSTOM4_TEXT_TEXT='T' export GBT_CAR_CUSTOM4_BG='yellow' export GBT_CAR_CUSTOM4_FG='black' export GBT_CAR_CUSTOM4_DISPLAY_CMD="$HOME/.local/bin/todo_sh_status.sh" +#Kubernetes +export GBT_CAR_KUBECTL_FORMAT=' {{ Context }} ' #Prompt forward: export GBT__SSH_IGNORE=(crs ap1 ap2 ap3 ap4) export GBT__HOME="${HOME}/go/src/github.com/jtyr/gbt"