matchai / spacefish

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

Implement a prompt section for Kubectl version (☸️) #73

Closed matchai closed 5 years ago

matchai commented 5 years ago

Feature Request

Is your feature request related to a problem? Please describe. This feature is intended to achieve feature parity with the following Spaceship section file: https://github.com/denysdovhan/spaceship-prompt/blob/master/sections/kubecontext.zsh

Describe the solution you'd like Porting over the existing zsh implementation of the kubectl section file, showing the current kubectl version when there is a kubernetes context.

owais commented 5 years ago

This would be really nice to have :+1:

owais commented 5 years ago

@matchai Build it for myself. Maybe it can be upstreamed. https://github.com/matchai/spacefish/pull/76