Search slightly more liberally for git remotes.
Search slightly more liberally for git remotes.

I use heroku_plus and I don't want to have to type --app after everything.
The restrictive regex used to detect the current heroku app means that
anytime you change it -- e.g. to add different git hosts in ~/.ssh/config --
--app no longer is autodetected.

Instead, I simply edited the regex a bit to detect (or not; it obviously doesn't
break anything) items like the following:

[remote "heroku"]
  url = git@heroku.com.personal:<my app name>.git

This way, entries in .ssh/config can read something like this:

Host heroku.com.personal
  HostName heroku.com
  ...

That, of course, allows using multiple accounts in an unobstrusive way.
The heroku_plus gem could be edited to adopt that convention and boom, there you go.

Faisalawanisee/heroku,rkh/heroku,duypq94/heroku,duypq94/heroku,duypq94/heroku,sancopanco/heroku,heroku/heroku,heroku/heroku,rkh/heroku,rkh/heroku,dickeyxxx/heroku,gregburek/heroku,vcgato29/heroku,macedo/heroku,sancopanco/heroku,macedo/heroku,greeca0204/heroku,macedo/heroku,dickeyxxx/heroku,greeca0204/heroku,Faisalawanisee/heroku,greeca0204/heroku,sancopanco/heroku,gregburek/heroku,vcgato29/heroku,heroku/heroku,gregburek/heroku,dickeyxxx/heroku,vcgato29/heroku,Faisalawanisee/heroku