Mislav Marohnić d0779fc8fb Expand literal tilde in PATH
The literal tilde in a PATH entry (e.g. `~/.rbenv/shims`) doesn't seem
to be supported by system `which` utility, but *does* seem to be
supported by `command -v` (used in `rbenv-which`) and `type -p`.

Therefore, we must strip away `~/.rbenv/shims` from PATH when looking up
executables for system Ruby, lest we risk infinite loop. We do so by
substituting any occurence of `~` in PATH with the value of `HOME`.
2016-09-09 10:29:12 +02:00
..
2016-04-22 10:17:40 -05:00
2015-12-24 19:12:47 +01:00
2015-12-07 11:03:07 -08:00
2015-12-24 13:23:01 +01: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
2016-09-09 10:29:12 +02:00