38 lines
1.5 KiB
Bash
38 lines
1.5 KiB
Bash
export GBT_SHELL="$0"
|
|
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
|
export GBT__SSH_CATCH_PSEUDO_TERMINAL=true
|
|
export PS1='$(~/go/bin/gbt $?)'
|
|
export GBT_CARS='OS, Custom4, Git, Dir, Custom1, Custom2, Custom3, PyVirtEnv, Status, Sign'
|
|
export GBT_CAR_PYVIRTENV_FORMAT='{{ Icon }}'
|
|
export GBT_CAR_DIR_BG='dark_gray'
|
|
export GBT_CAR_DIR_DEPTH='3'
|
|
export GBT_CAR_STATUS_FORMAT=' {{ Code }} '
|
|
export GBT_CAR_SIGN_USER_TEXT=''
|
|
export GBT_CAR_CUSTOM1_TEXT_TEXT='MyDot: error'
|
|
export GBT_CAR_CUSTOM1_BG='red'
|
|
export GBT_CAR_CUSTOM1_DISPLAY_CMD="$HOME/.local/bin/dotfiles_gbt_status.sh check_error"
|
|
export GBT_CAR_CUSTOM1_TEXT_TEXT='.error!'
|
|
export GBT_CAR_CUSTOM2_BG='green'
|
|
export GBT_CAR_CUSTOM2_FG='black'
|
|
export GBT_CAR_CUSTOM2_TEXT_TEXT='.c'
|
|
export GBT_CAR_CUSTOM2_DISPLAY_CMD="$HOME/.local/bin/dotfiles_gbt_status.sh check_status"
|
|
export GBT_CAR_CUSTOM3_TEXT_TEXT='.p'
|
|
export GBT_CAR_CUSTOM3_BG='green'
|
|
export GBT_CAR_CUSTOM3_FG='black'
|
|
export GBT_CAR_CUSTOM3_DISPLAY_CMD="$HOME/.local/bin/dotfiles_gbt_status.sh check_push"
|
|
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"
|
|
export GBT__CARS_REMOTE='OS, Hostname, Git, Dir, Status, Sign'
|
|
export GBT__THEME_SSH="${HOME}/.gbts_theme.sh"
|
|
source ~/go/src/github.com/jtyr/gbt/sources/gbts/cmd/local.sh
|
|
alias ssh='gbt_ssh'
|
|
alias sudo='gbt_sudo'
|
|
|