sharpdust
March 23rd, 2010, 04:46 PM
In my .cshrc I do the following:
source someDirectory/someFile
In someDirectory/someFile, I have
source ./anotherFile
anotherFile is contained in someDirectory
So the structure looks like this:
/home/me/.cshrc
/home/me/someDirectory/someFile
/home/me/someDirectory/anotherFile
When it tries to source anotherFile it complains it can't find it. I completely understand the reasoning since it's not in the same directory as the initial .cshrc, but is there a way to get around this?
source someDirectory/someFile
In someDirectory/someFile, I have
source ./anotherFile
anotherFile is contained in someDirectory
So the structure looks like this:
/home/me/.cshrc
/home/me/someDirectory/someFile
/home/me/someDirectory/anotherFile
When it tries to source anotherFile it complains it can't find it. I completely understand the reasoning since it's not in the same directory as the initial .cshrc, but is there a way to get around this?