Skip to content
Browse files

console command now automatically cds to the current deploy dir

  • Loading branch information...
1 parent 009572f commit 111d96d58533ef3bd91262cbaa288786d388eaeb @bronson committed Jun 19, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 bin/deploy
View
5 bin/deploy
@@ -133,9 +133,10 @@ run() {
#
console() {
+ local path="`config_get path`/current"
local shell="`ssh_command`"
- echo $shell
- exec $shell
+ echo $shell -t "cd $path; bash --login"
+ exec $shell -t "cd $path; bash --login"
}
#

0 comments on commit 111d96d

Please sign in to comment.
Something went wrong with that request. Please try again.