Skip to content

Change context? (bash) #2

@butuzov

Description

@butuzov

I wonder if it's actually possible to change $PS1 after switching context in bash.

image

# Added before declaration of PS1
export KUBECONFIG=~/.kube/config
kubeprompt
  • context not changing
  • shell losing all of the nice things, like auto-completion (because of kubeprompt switchover)

/ no bueno =(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions