wouterdebie / i2cssh

csshX like ssh tool for iTerm2
MIT License
547 stars 68 forks source link

use bash exclusively #54

Closed anuragkhare closed 8 years ago

anuragkhare commented 8 years ago

Works better when fish is set as iTerm2’s login shell

wouterdebie commented 8 years ago

You forgot to remove @shell = ENV["SHELL"] || "/usr/bin/env bash"

anuragkhare commented 8 years ago

Thanks for catching that & merging the changes.

wouterdebie commented 8 years ago

Thanks! I didn't realize when the initial commit came in, but we're using bash here to just spawn the ssh sessions. You can run a different shell on remote hosts though.

anuragkhare commented 8 years ago

All good. It seems safer to default to bash. I'm using fish shell & it rejects constructs like '&&'.