how to pass `y` to `curl https://nim-lang.org/choosenim/init.sh -sSf | sh`  in install scripts?
I tried a number of variations but none work, eg:

```
echo y | (curl https://nim-lang.org/choosenim/init.sh -sSf | sh)
```
also:
```
d_install_aux(){
  curl https://nim-lang.org/choosenim/init.sh -sSf | sh
}
echo "y" | d_install_aux
# error: choosenim-init: Error: Unable to run interactively. Run with -y to accept defaults.
```

but doesn't work.

it's part of an install script so should complete without prompting user


## workaround
```
  init_F=/tmp/choosenim_init.sh
  curl https://nim-lang.org/choosenim/init.sh -sSf > $init_F
  chmod u+x $init_F
  $init_F -y
  rm $init_F
```
