Skip navigation
This discussion is archived

.bash_login no longer executed

2657 Views 2 Replies Latest reply: Aug 29, 2008 5:44 AM by ericmeyers RSS
tnine Calculating status...
Currently Being Moderated
Aug 29, 2008 12:36 AM
Hi All,
I recently have had some very bad luck with my macbook pro and had two main boards replaced in three weeks. I'm finally back up and running, but I'm having some strange behavior in my terminals. I use my terminal quite a bit for work since I'm a software engineer. I have not changed my terminal settings, but my .bash_login is not longer executed when I open a new terminal. As a result, I'm missing a lot of custom PATH modifications I need. I know my .bash_login is correct, if I run "source ~/.bash_login" my path is modified. I've also experienced other strange issues, such as my screensaver changed etc. Does anyone know how I can check what source bash is loading when I start a new terminal? I have the default login terminal set to "/usr/bin/login"

Thanks,
Todd
MacBook Pro, Mac OS X (10.5.2)
  • Mark Jalbert Level 5 Level 5 (4,385 points)
    Currently Being Moderated
    Aug 29, 2008 3:03 AM (in response to tnine)
    Hi Todd,

    Do you have a .bash_profile file?

    Or it may be an issue with the Terminal.app preferences. Trash the Terminal.app preferences and reconfigure them.

    Message was edited by: Mark Jalbert
    QuickSilver_2002, iMac_G5, Mac OS X (10.5.4)
  • ericmeyers Level 4 Level 4 (1,410 points)
    Currently Being Moderated
    Aug 29, 2008 5:44 AM (in response to tnine)
    I think

    ~/.bash_profile
    ~/.bash_login
    ~/.profile

    are processed in order, and if any are found the remaining are not sourced. Maybe something created a ~/.bash_profile which is preventing your ~/.bash_login from running?
    Mac Pro, Mac OS X (10.5.4), Macbook

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.