Skip to content

docker segment or command segment with current shell type #3549

Description

@GethDeeo

Code of Conduct

  • I agree to follow this project's Code of Conduct

What would you like to see changed/added?

I would like to have a docker segment to show current context, like this:
docker context show

Now I know the command segment can be configured easily for this, but I've a small problem with that.
I use the same configuration across different platforms (Windows, Linux), so I may not be able to come up with a single selected shell that works across these.
Right now, the default bash works on my Windows system, but only because I've WSL installed, and .docker configuration shared with it. But I may come across a different system, where WSL is not present.
Is there a way to use the current running shell or a new instance of it in case of command segment?

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions