matchai / spacefish

🚀🐟 The fish shell prompt for astronauts
https://spacefish.matchai.dev
MIT License
963 stars 79 forks source link

Add kubernetes namespace to kubecontext section when present #78

Closed owais closed 5 years ago

owais commented 5 years ago

Shows active kubectl namespace in addition to context rendered as $symbol $context.$namespace

Types of changes

Screenshots (if appropriate):

image

How Has This Been Tested?

Checklist:

matchai commented 5 years ago

Hey owais!

Thank you for taking the time to open a PR. Unfortunately, this feature would break parity with spaceship-prompt, which this project is a port of.

I do think that would be value to having the kubectl namespace added to the prompt and would encourage you to first make an issue or PR over on the spaceship project. Once the issue is approved on spaceship-prompt and it looks like it is planned to be merged in, we can pick up this PR again.

Sorry about that. Hopefully we can get your PR merged in the near future. 😅

owais commented 5 years ago

Ok. No worries.I'll use my fork till then :)