diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-28 12:20:13 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-28 12:20:13 (GMT) |
commit | 12b29a9e5677beecdf932987395f7a5f15306af9 (patch) | |
tree | f06006ff73c30d6c61bfedf38a2888505b18f11c /commands | |
parent | c3f2927c630e19a408805e294e383d48cce45250 (diff) |
Move bashrc to commands
Not much sense to keep an helpers dir for one file.
Diffstat (limited to 'commands')
-rw-r--r-- | commands/bashrc (renamed from commands/helpers/bashrc) | 0 | ||||
-rw-r--r-- | commands/common.py | 1 | ||||
-rwxr-xr-x | commands/shell | 3 |
3 files changed, 2 insertions, 2 deletions
diff --git a/commands/helpers/bashrc b/commands/bashrc index f77299c..f77299c 100644 --- a/commands/helpers/bashrc +++ b/commands/bashrc diff --git a/commands/common.py b/commands/common.py index 37c295a..06c1b47 100644 --- a/commands/common.py +++ b/commands/common.py @@ -2,7 +2,6 @@ import os import sys base_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) -helpers_dir = os.path.join(base_dir, "commands", "helpers") tests_dir = os.path.join(base_dir, "tests") sys.path.append(base_dir) diff --git a/commands/shell b/commands/shell index 818b160..71f3ceb 100755 --- a/commands/shell +++ b/commands/shell @@ -5,6 +5,7 @@ import os import common from devbot import shell +from devbot import config common.setup() -shell.start(os.path.join(common.helpers_dir, "bashrc")) +shell.start(os.path.join(config.commands_dir, "bashrc")) |