Added .bashrc to the list of files to source in supybot-botchk.

This commit is contained in:
Jeremy Fincher 2005-03-09 07:27:47 +00:00
parent 4fb57f211a
commit b39eaa7cb5

View File

@ -114,7 +114,7 @@ if __name__ == '__main__':
debug('Bot not found, starting.') debug('Bot not found, starting.')
home = os.environ['HOME'] home = os.environ['HOME']
inst = popen2.Popen4('sh') inst = popen2.Popen4('sh')
for filename in ('.login', '.bash_profile', '.profile'): for filename in ('.login', '.bash_profile', '.profile', '.bashrc'):
filename = os.path.join(home, filename) filename = os.path.join(home, filename)
if os.path.exists(filename): if os.path.exists(filename):
debug('Found %s, sourcing.' % filename) debug('Found %s, sourcing.' % filename)