-
Notifications
You must be signed in to change notification settings - Fork 85
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
brackets showing up instead of normal prompt representation #13
Comments
Thanks for the feedback, glad you like it. Have you got the latest pulled? There was a problem with zero width characters (flagged up in #4) which was fixed by @Eyeofhell in #7. Problem was this only works if you don't set your PS1 using #11 I think has fixed this by switching from Try pulling the latest and see if that helps. |
Sorry, the other problem you mention, where you use The fix is use either: export PS1="\W\$(~/git-radar/git-radar --bash) " (^ the '' escaping the or export PS1='\W$(~/git-radar/git-radar --bash) ' With the latest pull both of those should work for you. I'll need to update the docs to reflect that missing |
It worked! this is really great. Now when I add --fetch command I get following:
Is there a solution for this as well? |
Hmm, that's odd. I haven't seen that before. Probably I'm not doing the nohup correctly at https://github.com/michaeldfallen/git-radar/blob/master/git-radar#L80. |
if you do a |
I get the follow: NOHUP(1) User Commands NOHUP(1) NAME SYNOPSIS DESCRIPTION |
I suppose it should be this:
|
I can make a diff and send you the pull request if it makes sense? |
Yeah I'd try a variety of:
|
Yeah submit a PR if you think you've fixed it. Happy to merge. |
I will do a test and let you know. |
I think there was a problem from my side. Tried again and it worked without any changes. |
Not so fast, apparently what is happening is that git crashes in one of its fetches so I get the following:
and after that every call gives me:
|
This happens on my Ubuntu and I cannot reproduce it on Mac. |
Hi,
When I add
export PS1="\W\$(~/git-radar/git-radar --bash) "
to my .bashrc I get the following:py_ \[\]git:(\[\]\[\]master\[\]\[\])\[\] 3\[\]M\[\] 59\[\]A\[\]
Where
py_
is my current direcotry.When I add
export PS1="\W$(~/git-radar/git-radar --bash) "
it shows the correct format but no longer updates. I suppose this has to do with static executation and lazy evaluation of bash for PS1 and thus not the correct way of using your script.I will appreciate if you could help.
P.s the package is fantastic. Cannot wait to use it and possibly contribute back.
The text was updated successfully, but these errors were encountered: