Daniel Hahler 32030e2ed9 Fix shell version when invoked from a script
When invoked from a shell script, `$(rbenv init -)` did not get the
shell name correct.
It needs to look at the `args` value from `ps`.

Ref: https://github.com/yyuu/pyenv/issues/373
2015-12-24 13:21:22 +01:00
..
2015-11-23 09:13:31 -05:00
2015-12-07 11:03:07 -08:00
2015-10-28 21:35:39 +01:00
2012-12-29 22:05:04 -06:00
2013-10-31 20:18:14 +02:00
2013-03-07 15:07:32 -05:00
2012-12-29 22:05:04 -06:00
2012-12-29 22:05:04 -06:00
2015-12-12 15:28:34 +09:00