Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm a bit new to the Unix environment and am having trouble with my bash_profile and svn. Basically my bash_profile only contains information about coloring the terminal. However, when I make the bash_profile, it messes up my svn installation. Do I need to specify a PATH or something in the bash_profile? Is there a list of things you need or should include in the bash_profile?

Here's my current bash profile:

alias ls="ls -G"
export LSCOLORS='gxfxcxdxbxegedabagacad'

PS1="[\!][\[\e[0;32m\]\t\[\e[0m\]][\[\e[0;36m\]\w\[\e[0m\]]\$ "

alias l="ls -G"
alias o=open
alias grep='egrep --colour=always'

(also, I'm running Mac OSX 10.8.2 in case that matters)

share|improve this question
    
@alextehbake, it would help a lot if you could add the contents of your bash_profile file to your question. –  jbranchaud Feb 18 '13 at 4:32
    
yea sorry about that. I put it in now –  alexthebake Feb 18 '13 at 4:46
    
What leads you to believe that the .bash_profile is messing with svn? Did svn work before adding that file and then no longer works once it is sourced? Can you reproduce this? What happens if you remove the .bash_profile? –  jbranchaud Feb 18 '13 at 4:49
    
It works before I make the bash_profile, then stops working once i've set it up, then continues to work when I remove it. I've also done it multiple times with the same result. Maybe it's something else, but that's the only thing I can think of –  alexthebake Feb 18 '13 at 4:59
1  
"It works" and "stops working" aren't terrible descriptive. Can you add some more color? What do you see with and without the .bash_profile when you type what command? –  Marc Bejarano Feb 18 '13 at 6:25
show 2 more comments

1 Answer

Check if you have either .bash_login or .profile in your home directory. Your bash may have been executing svn-related setup in one of these files, which it will no longer do if you create .bash_profile. bash only executes the first of .bash_profile, .bash_login, or .profile (in that order) that it finds.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.