mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-22 18:14:41 +01:00
Added .bashrc to the list of files to source in supybot-botchk.
This commit is contained in:
parent
4fb57f211a
commit
b39eaa7cb5
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user