Closed richarddli closed 6 years ago
This needs a bit more work. It does not account for the type of shell you're using so for example, I and @ark3 use Fish rather than Bash and that has a different export syntax. I am aware of this issue and I have begun work on it in the next major feature branch: https://github.com/datawire/kubernaut/blob/dev/multicluster/kubernaut/claims/commands.py#L44
We should support Bash, Zsh and Fish export syntaxes. These are as far as I am aware the three most common shells out there (Zsh being common enough to get command completion for kubectl
).
Two options:
quick fix to address https://github.com/datawire/kubernaut/issues/10
(my #1 gripe about kubernaut ... since i never remember the export)