Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>System>>.bashrc not being sourced

.bashrc not being sourced

melguin
04-08-2003, 07:11 PM
I've changed my default shell to bash, since that's what I'm used to, but I've noticed that when I open a new terminal window the .bashrc file in my home directory does not get sourced.

Any ideas?

aixccapt99
04-08-2003, 07:57 PM
Try naming it .bash_profile. That's what mine is called, and it works as expected.

melguin
04-09-2003, 11:01 AM
hmm...I'm not suprised that .bash_profile works, though I had forgotten about it since in Linux either .bashrc or .bash_profile will work. I have been using .bashrc for many years and forgot about the other until you suggested it.

Many thanks.

midan23
04-09-2003, 11:20 AM
I use both files ...
My .bash_login looks like this :

RCFILE=$HOME/.bashrc

[ -f $RCFILE] && source $RCFILE


 

TOP

For more info

FCP 3.x will not launc
error message in login
software update files 
clicking defualt butto
DVD Burning Process: I
Repair Permissions que
10.2.4 Combo Updater -
Os 10.1 on Nov 2002 (8
Ongoing Cocoa screen g
Firewire 

News Archive

Different Volume Indic
Disable Opening Finder
OSX will no longer boo
Installing OS X withou
Getting URL files to u
Uninstall OS X 
FTP and Comm Failures 
Font panel MIA! 
Power Source Variable?
Window Maker install p

Related stories:

Research/Auto-Fill of MP3's ID3 tags?
Blue Screen at startup
Display Profiles won't stick
Investigating (and managing) processes...
ATi Drivers
F14 & F15 Keys
Dragged partition into the trash...now what?

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics