为什么Bash与Curl一起使用时不会等待读取?

ma1*_*w28 3 bash shell curl pipe sh

我写了一个Bash脚本来配置Git.它使用read内置,但是当我这样做时:

bash < <(curl -s https://raw.github.com/gist/419201/gitconfig.bash)
Run Code Online (Sandbox Code Playgroud)

它不等我输入输入.我怎么让它等待?

Lyn*_*nch 6

我在<jcomeau_ictx建议中测试了它,并且它有效.

bash <(curl -s https://raw.github.com/gist/419201/gitconfig.bash | head -n 3)
Run Code Online (Sandbox Code Playgroud)

注意:我曾经head -3在读取后停止执行.