jdx / mise

dev tools, env vars, task runner
https://mise.jdx.dev
MIT License
8.37k stars 221 forks source link

Behave like a shell #1296

Open jdx opened 6 months ago

jdx commented 6 months ago

I'm wondering if I could make rtx behave like a shell, maybe if I detect it's being run as something like /usr/local/bin/rtx-bash.

That way in IDEs people don't need to figure out how to configure it to work with rtx beyond setting that as their shell which is generally easy to configure. It also provides an alternate way to use rtx via chsh.

jdx commented 6 months ago

It might be possible here to detect if it's interactive (I think it'll just be send the -i flag), and choose whether to go with shims or rtx activate