I'm creating a script that I want people to run with

```
 curl -sSL install.domain.com | bash

```

As RVM, oh-my-zsh and many others does,

However, I'm having issues because my script is interactive (it uses `read` and `select`, and the user is not being prompted, the script just skip those steps as is being executed with a `|`.

I've tried adding `{}` to my whole code.

I was thinking in ask the script to download himself again and put in tmp folder, and execute from there, not sure if that will work.