-
Notifications
You must be signed in to change notification settings - Fork 340
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
Improvements to the installation documentation #24
Comments
I agree with you. The same happened to me about .bashrc on Ubuntu 14.04.
|
@iluwatar Sorry for the confusion, I'll have a closer look at Ubuntu's shell init setup and update the readme as needed. I'm not sure why you'd need to make the files executable though, as they're just loaded by bash, and never directly executed. @srvanrell What kind of issues have you had with the export statement? Seems a bit strange that it wouldn't work, so I'm quite curious :) |
|
@lethosor That makes sense. I've been handicapped by OSX always loading the |
@jimeh export works properly. Always. I meant that when I open a new terminal (without rebooting) the earlier export execution (in another terminal) don't take effect. May be that's the expected way. I'm not familiar with export so could be that I'm wrong. Let me restart the question. How many times and where should the export command be executed to get git-aware-prompt always working? |
|
@lethosor thanks for your clarification! I've added to bashrc but it was export only works on a per-shell basis. If you want to make — |
I was able to get this working on my Mac by putting everything inside .bashrc. Also, thanks to @iluwatar for pointing out making the scripts executable after cloning the repo. |
You shouldn't have to make them executable if you're sourcing them, though - are you running the scripts directly? |
@lethosor You are correct. I removed the executable permission and all continues to work as expected. |
On Debian .profile lines specified works but they must be at the bottom of the file, not at the top. At least this work for me. |
It seems like what actually works varies quite a bit between OS/distro. I'll try to expand on the installation instructions so they're a bit more informative and helpful than a single sentence. |
I can confirm for Ubuntu 15.10 that we need to use the instructions on |
Hi! Can you please update the README? |
Just opened a PR #31 for this. |
I was using Lubuntu 14.04 and according to the documentation I should
However, this does not work. I needed to edit my
.bashrc
file to make it work. Also, the documentation does not mention that after cloning the repository you should make the scripts executable withchmod
command.The text was updated successfully, but these errors were encountered: