Closed Artmorse closed 1 year ago
I'm sorry but I don't see how the commit in this PR achieve that goal. Without testing it I assume this would just replace the whole prompt with only the kube part.
So I let you test it. On my side, RPROMPT was empty so I just switch the value.
In my case it looks like this :arrow_down: (it display N/A because I'm not connected to any cluster)
I'm sorry my eyes previously didn't see the R
in RPROMPT
. Guess you are right and it all makes sense. Disregard my earlier comment.
Nice update to the docs! I haven't used the RPROMPT
in a while but this looks like a great usage of it (especially with longer cluster names). Thanks!
I would like to update the documentation to explain how to display
kube_ps1
on the prompt right side.In my case, I prefer to display it on the right side. :grin: