diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-23 18:29:55 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-23 18:32:14 (GMT) |
commit | 8956a666c3fb455de4cdb167611bc478e20948da (patch) | |
tree | 0fd9973cfcbf627e6cd3e67ed3375309bf679d94 /devbot/shell.py | |
parent | 9c186e63e71ea79609d460a03df8327b699c7dbf (diff) |
Fix shell prompt string on ubuntu
It was getting overwritten by ~/.bashrc
Diffstat (limited to 'devbot/shell.py')
-rw-r--r-- | devbot/shell.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/devbot/shell.py b/devbot/shell.py index abe0695..66f26f9 100644 --- a/devbot/shell.py +++ b/devbot/shell.py @@ -3,9 +3,10 @@ import os from devbot import environ +from devbot import config -def start(): +def start(rcfile): environ.setup() - user_shell = os.environ.get("SHELL", "/bin/sh") - os.execlp(user_shell, user_shell) + bash_path = "/bin/bash" + os.execlp(bash_path, bash_path, "--rcfile", rcfile) |