You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Powerlevel10k has POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND to show kube info when typing kubectl i.e, I want something similar but showing only git branch in POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS, still showing other vcs info in POWERLEVEL9K_LEFT_PROMPT_ELEMENTS, how can i do that?
The text was updated successfully, but these errors were encountered:
I would say the easiest way would be to build your own segment, that only shows the branch and remove the branch from the segment vcs. Check out p10k help segement. https://github.com/romkatv/powerlevel10k#extensible
You can then use the POWERLEVEL9K_*_SHOW_ON_COMMAND setting with * as your prompt segment.
Powerlevel10k has
POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND
to show kube info when typingkubectl
i.e, I want something similar but showing only gitbranch
inPOWERLEVEL9K_RIGHT_PROMPT_ELEMENTS
, still showing othervcs
info inPOWERLEVEL9K_LEFT_PROMPT_ELEMENTS
, how can i do that?The text was updated successfully, but these errors were encountered: