Permalink
Browse files

Use user's login shell, no need to force bash

Also display only the ssh command, not all the cd biznass.
  • Loading branch information...
1 parent 111d96d commit a48d30aa80278d67c40d0b4c87f2404151e40c66 @bronson bronson committed Jun 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/deploy
View
@@ -135,8 +135,8 @@ run() {
console() {
local path="`config_get path`/current"
local shell="`ssh_command`"
- echo $shell -t "cd $path; bash --login"
- exec $shell -t "cd $path; bash --login"
+ echo $shell
+ exec $shell -t "cd $path; \$SHELL --login"
}
#

0 comments on commit a48d30a

Please sign in to comment.