Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/shell
diff options
context:
space:
mode:
Diffstat (limited to 'commands/shell')
-rwxr-xr-xcommands/shell7
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/shell b/commands/shell
index 71f3ceb..55449b8 100755
--- a/commands/shell
+++ b/commands/shell
@@ -6,6 +6,11 @@ import common
from devbot import shell
from devbot import config
+from devbot import environ
common.setup()
-shell.start(os.path.join(config.commands_dir, "bashrc"))
+
+commands_dir = os.path.join(common.base_dir, "commands")
+
+environ.add_path("PATH", commands_dir)
+shell.start(os.path.join(commands_dir, "bashrc"))