I want to create this setup script:
curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.sh | sh
export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"
source ~/.bashrc
scarb --version
But the first line need some interactions like yes/no
at the standard input:
How can I do it? I’ve already tried to put the command yes
at the second line of the script but it didn’t worked.