From c74570b8e0a42bda292e398c2bb7233044b37a7a Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Sat, 15 Dec 2012 20:00:42 +0000 Subject: No point in passing commands dir to devbot --- (limited to 'commands/shell') 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")) -- cgit v0.9.1