Last active
November 14, 2022 03:45
-
-
Save zikes/3179da36f3a87aee497398a6e9b88481 to your computer and use it in GitHub Desktop.
Using kube-ps1 with P9K
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
# Enable the kube-ps1 oh-my-zsh plugin | |
plugins = ( | |
git | |
kube-ps1 | |
) | |
# The output of the kube_ps1 function is text, so it can be used | |
# directly as a custom p9k segment | |
POWERLEVEL9K_CUSTOM_KUBE_PS1='kube_ps1' | |
# Include the new custom segment in prompt_elements | |
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon context dir custom_kube_ps1 vcs) |
Author
zikes
commented
Jul 20, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment