Windows Terminal
ref: (new) Windows Terminal - https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701
WSL
Preferred flavor: Ubuntu ref: Creating Additional WSL2 Instances font: Cascadoa Mono PL from Microsoft Cascadia Code
oh-my-zsh Theme: agnoster Plugins:
plugins=(
git
kubectl
kube-ps1
docker
docker-compose
helm
aws
golang
python
)
Install: - kubectl - krew Krew Install: - ns - ctx
Add this to the end of ~/.oh-my-zsh/themes/agnoster.zsh-theme
prompt_kube_context() {
if [[ $KUBE_PS1_ENABLED == "on" ]]; then
echo $(kube_ps1)"\n% "
fi
}
PROMPT='$(prompt_kube_context)%{%f%b%k%}$(build_prompt) '
Refresh your session: source ~/.zshrc
You can now use kubeon
and kubeoff
Last updated
Was this helpful?