added kube_gbt to turn on k8s PS1 info
This commit is contained in:
parent
1e30ec6541
commit
adbbee208a
@ -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] <target ip/hostname>
|
||||
|
2
.gbt.sh
2
.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"
|
||||
|
Loading…
Reference in New Issue
Block a user