Closed JoshCheek closed 9 years ago
Checkout the chruby-fish wrapper for fish support.
I don't see a fish-specific chruby-exec
in there. I've been using that lib, and when I do type chruby-exec
, it tells me the one from here.
Since fish is not POSIX compliant, we can't really support it, let alone dash
or ksh
.
I use fish, but never set my SHELL env var before. Recently had to do this to use an editor plugin.
But it breaks chruby here because the
&&
is not valid fish syntax, fish uses theand
command.I played around with it a bit, trying things like this:
But never actually got it working. In the end, I just overrode SHELL for the command that invokes chruby, but that wouldn't work if it needed to both invoke Ruby and start a shell.