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

OSX Chrome Install Docs #141

Closed
Miserlou opened this issue Mar 23, 2012 · 4 comments
Closed

OSX Chrome Install Docs #141

Miserlou opened this issue Mar 23, 2012 · 4 comments
Assignees
Labels

Comments

@Miserlou
Copy link

http://splinter.cobrateam.info/docs/drivers/chrome.html

$ echo "export PATH=$PATH:$HOME/bin" >> $HOME/.bash_profile

This seems to mess up the default OSX terminal colors.

If you're on OSX, this should probably be .profile instead of .bash_profile should fix it, I think.

@douglascamata
Copy link
Member

I'm using OS X since Snow Leopard and it's .bash_profile for me too. I think we can include instructions to install it with Homebrew too, it's a lot easier.

@fsouza
Copy link
Contributor

fsouza commented Mar 25, 2012

It's not about Mac OS, it's about bash. bash uses .profile (from sh) only when .bash_profile is not present. @Miserlou was probably using .profile, so the command:

$ echo "export PATH=$PATH:$HOME/bin" >> $HOME/.bash_profile

created the .bash_profile containing only "export PATH=$PATH:$HOME/bin", and this just messed up his environment.

@douglascamata: it seems reasonable to add homebrew instructions, or just tell "put this in your PATH".

@Miserlou: please s/bash_profile/profile in the command above when running in your machine.

@Miserlou
Copy link
Author

Ah, okay, I guess I thought bash took different parameters. Since I didn't have a .bash_profile, perhaps just .profile is the OSX convention and the docs should be changed still? I'm new to OSX (linux traitor looking to repatriate), so I'm not super certain of the conventions.

@fsouza
Copy link
Contributor

fsouza commented Mar 25, 2012

.profile is legacy from sh.

bash supports it for backward compatibility only, you should use .bash_profile.

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

No branches or pull requests

3 participants