-
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
Easier install #10
Comments
+1 |
1 similar comment
+1 |
Awesome, thanks for the suggestion. As I work mostly on mac when I release something that's usually my first port of call. Sorry about that. Would this assume that the PS1 set in the
Just trying to think through how this hangs together. It's definitely something I'm interested in doing, especially since I'm switching soon off Mac (sore wrists from the crappy keyboards). |
👍 |
1 similar comment
+1 |
👍 Wish there was a fast and easy way to install in Linux to. |
+1, not least of all to get this working on Bash in MinGW on Windows. |
+1 |
👍 for easy install on Linux. (Particularly for zsh) |
👍 |
1 similar comment
+1 |
+1 Interesting project, but yeah, I ain't going to mess with my existing git setup without explicit directions on installing on Linux. Suggested instructions for Linux could act as a guide. |
What I was able to is clone this repo, add the git-radar executable to a bin (some directory like /bin or something you have added to your path), and add that export command that is in the readme of this repo to my bashrc and that seems to have made it work on ubuntu. As per issue #16 I did need to make that quick fix given by dbrown, but we should not need that soon as it seems that issue should be resolved once the pull request is merged. |
Great to see you're working on this, I'd love to give git-radar a try on Linux. |
@michaeldfallen No I would propose the |
@jart I wouldn't be so sure. Someone may have committed to the git-radar prompt for git-controlled directories, but what if you want to include something similar for bzr-controlled directories, for instance? IMHO users should be able to add the git-radar output to the prompt the way he/she wants to. |
@marcvangend Then they would just say in their source ~/.git-radar.bashrc
PS1="rofl bzr $PS1" |
Have you guys realized that parts of git-radar doesn't pass existing tests under Linux? The first priority should be getting the tests to pass on a GNU userland. As of right now, the code uses BSD touch and stat options that probably break the auto-fetching capability (and makes some wrong assumptions about padding). @jart 👎 to overriding PS1. I'm trying to picture how this would work in oh-my-zsh:
As opposed to:
where or a simple:
where And what is the motivation for the |
Is there any official instruction to install on Linux? I couldn't manage to do it, I'm a shame to my father... |
@mtyurt There are no "official" instructions. But I just symlinked the git-radar executable into |
+1 to make simple linux install instructions |
👍 |
Solved by #51 |
Why go to the trouble of installing a package through homebrew in order to customize
PS1
? What about Linux users?Consider instead maintaining a "binary" release file in your repository. You could just have a makefile cat everything together, so long as you remember to run it before each commit.
Then your install instructions could be simple and transparent:
The text was updated successfully, but these errors were encountered: