Skip to content

Instantly share code, notes, and snippets.

@tcotav
Last active February 13, 2021 16:57
Show Gist options
  • Save tcotav/89029f6844ca134677b796aa1152667b to your computer and use it in GitHub Desktop.
Save tcotav/89029f6844ca134677b796aa1152667b to your computer and use it in GitHub Desktop.
Term customization for kubernetes dev
#!/bin/bash
# create multiple terms hot-keyed
### this is the ~/.zshrc_kube
# zinit
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)"\n
cat >> ~/.zshrc <<'endmsg'
zplugin light jonmosco/kube-ps1
PROMPT='$(kube_ps1)'$PROMPT
endmsg
# kube context and ns -- https://github.com/ahmetb/kubectx
brew install kubectx
### then install one for coding ~/.zshrc_code
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment