Last active
February 13, 2021 16:57
-
-
Save tcotav/89029f6844ca134677b796aa1152667b to your computer and use it in GitHub Desktop.
Term customization for kubernetes dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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