I wrote a Bash script to congfigure Git. It uses the read
builtin, but when I do:
bash < <(curl -s https://raw.github.com/gist/419201/gitconfig.bash)
It doesn't wait for me to enter input. How do I get it to wait?
I tested it whitout the <
as jcomeau_ictx suggested and it worked.
bash <(curl -s https://raw.github.com/gist/419201/gitconfig.bash | head -n 3)
Note: I used head -3
to stop execution after the read.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With