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 to use a custom PS1 only for what's before the git part ? #94

Open
AlbyTree opened this issue Jun 8, 2021 · 3 comments
Open

How to use a custom PS1 only for what's before the git part ? #94

AlbyTree opened this issue Jun 8, 2021 · 3 comments
Assignees

Comments

@AlbyTree
Copy link

AlbyTree commented Jun 8, 2021

I have a custom PS1 which results in something like this

username:[/random/path]   
$ 

with 'username' and the path being colored.
Can I use these values and then let fancy-git handle the git part of the PS1 ?
That is, it should look like this

username:[/random/path] (master | *)  
$ 
@diogocavilha
Copy link
Owner

Hi, @AlbyTree.

Unfortunatelly FancyGit doesn't have this feature, but it could be a feature to be implemented on next versions.

Currently it overrides all PS1 content with one of its predefined styles.

@AlbyTree
Copy link
Author

AlbyTree commented Jun 9, 2021

That's unfortunate...I hope to see this feature in the future (thanks anyway)!

@diogocavilha
Copy link
Owner

diogocavilha commented Aug 17, 2021

Hello, @AlbyTree. Hope you're doing good!

I'm making some improvements on FancyGit engine so that I'll be able to implement the feature you mentioned. ;)

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

No branches or pull requests

2 participants