Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I make sure this displays when I'm working in a container? #917

Open
kaosine opened this issue Oct 1, 2022 · 4 comments
Open

How do I make sure this displays when I'm working in a container? #917

kaosine opened this issue Oct 1, 2022 · 4 comments

Comments

@kaosine
Copy link

kaosine commented Oct 1, 2022

When I enter containers(unless I choose specific themes that I can never recall which do and which don't), I can't tell if I am or not in one and occasionally forget that I am in one. Especially if it's toolbox right now since I've not gotten around to converting vagrant or some other method for having containerized development. But I'd like to prefix it like vanilla fish does(or at least I swear I remember it did?). Just so it's easier to remember and not accidentally exit the terminal completely if I am out of it and forgot.

Environment report

Oh My Fish version:   7
OS type:              Linux
Fish version:         fish, version 3.5.0
Git version:          git version 2.37.3
Git core.autocrlf:    no
Checking for a sane environment...
Your shell is ready to swim.

@scorphus
Copy link
Member

scorphus commented Oct 2, 2022

Can you please elaborate and help me understand what this is about?

@kaosine
Copy link
Author

kaosine commented Oct 2, 2022

I'm on fedora and when in bash it displays
⬢[darsparx@toolbox pulsar-edit.github.io]
where when I've run:
toolbox-enter pulsar-docs
It adds that bit of text to the front(and I think even the default fish config inherits this but these themes don't?). But it seems, unless you use specific themes, that darsparx@toolbox isn't included. I just want that part displayed in some way when looking at the path and branch it has listed:
image

@scorphus
Copy link
Member

scorphus commented Oct 2, 2022

It depends on the theme you use. It has to support that. Also, you probably need to configure it.

Hey, @fidencio, isn't this already part of the default theme?

@kaosine
Copy link
Author

kaosine commented Oct 2, 2022

Well, I didn't know how to go about configuring it. Finding information about this stuff is a bit difficult every time I go about searching for it. Since this time, I've got a proper bare git backing stuff up, so hopefully this time it'll be fixed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants