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
# Put the uc function in the ~/.zshrc file. | |
# The `uc` function creates a menu that shows available kubernetes contexts you can choose from. | |
# usage: | |
# uc | |
# Available contexts: | |
# 1) prod | |
# 2) stg | |
# > 1 | |
# Switched to context: prod |