Permalink
Browse files

Merge pull request #13 from bronson/patch-3

console command now automatically cds to the current deploy dir
  • Loading branch information...
2 parents a72fee0 + 111d96d commit a43c8e0f8fb5d97d9b06925d841f9db1d12306f7 @tj tj committed Jun 19, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 bin/deploy
View
@@ -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 a43c8e0

Please sign in to comment.