speedenator / agnoster-bash

Agnoster Theme for Bash
MIT License
216 stars 53 forks source link

agnoster-bash not showing the python virtualenv workon session #6

Closed MacFlurry closed 7 years ago

MacFlurry commented 7 years ago

Hello,

I usually work with Python virtualenv. example:

$ mkvirtualenv mynewenv
$ workon mynewenv

And the new prompt will be:

(mynewenv)$

but agnoster-bash not showing the(mynewenv)$

could you help on that ?

thanks a lot.

speedenator commented 7 years ago

Can you provide a screenshot? Note that agnoster overrides the prompt, so when you workon mynewenv it will still likely have the existing prompt. Granted, that isn't a bad feature request.

MacFlurry commented 7 years ago

hello,

screen shot 2017-09-16 at 18 23 44

thanks for your help :-)

millefalcon commented 7 years ago

I have fixed it and made a pull request.

speedenator commented 7 years ago

Ah thanks - let me take care of that!

On Thu, Oct 12, 2017 at 5:26 AM, han-solo notifications@github.com wrote:

I have fixed it and made a pull request.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/speedenator/agnoster-bash/issues/6#issuecomment-336115967, or mute the thread https://github.com/notifications/unsubscribe-auth/ANq9Cqf4IQgzXH423TA0VuxmQHrecdTwks5srgVcgaJpZM4O7TDK .

speedenator commented 7 years ago

PR merged, closing!

kirk86 commented 4 years ago

@speedenator I'm having the same issue. Does this PR solve the issue since I cloned agnoster theme but doesn't seem to be working.

image

Another issue that I'm facing is that when changing the background colour of the user info into blue the white prompt_segment seems to be blue as well so navigating into folders makes the prompt_segment disappear. image

as you can see I'm loosing the white right arrow when changing the colour to blue instead of cyan as in the first screenshot above.