Postmodern

Results 520 comments of Postmodern

I need to find a way to keep chruby's auto-switching from overriding chgems.

That would couple chruby to chgems. Also, RVM would obviously not respect the variable.

This is likely due to VSCode not executing commands in a shell, but executing them as separate processes (JetBrains RubyMine used to do this). VSCode would need to change how...

Ah, this was fixed by c44c6cc656104ab1d800d437313c967c59d9303a, which probably should get a patch release. The other bug is that `chruby_use` is not checking`$?` before executing the output of the ruby command....

The reason why `make install` does not also install configuration is I don't want to choose for the user how chruby is configured/loaded. Users can choose whether chruby is loaded...

This seems like something that needs a test to catch future breaking changes. Could add a test file that checks for bash (`[[ -n "$BASH_VERSION" ]]` or even `[[ !...

Auto-switching was a much requested feature. We put it in a separate file so as not to force it upon the other users. Implementing auto-switching "correctly" is tricky. For example...

How about providing a common `chruby_hook` function that provides an entry-point for any/all hooks that run after every command, which `auto.sh` adds to.

> Isn’t that exactly `preexec`? Unfortunately Bash (in particular Bash 3 which macOS still ships) does not have `preexec`.

> Then I’m once again advertising for https://github.com/rcaloras/bash-preexec, How did I not see this sooner? [bash-preexec](https://github.com/rcaloras/bash-preexec) looks like it would solve our problems and allow for better interoperability with other...