Cool!
You should probably add http support and not only https. Writing `curl ec2.shop` is easier than `curl https://ec2.shop`
I truly do not care if someone goes through the effort to MITM my curl of ec2.shop to inject fake prices or something like that.
There's nothing here that's going to be executed, it'll just be printed or grepped.
In theory you could exploit a 0 day in curl or my terminal or something like that, but I think if you truly think about the risks and tradeoffs here it's really not worth worrying about.
If curl had an hsts list to make this irrelevant that'd also be cool.
... yet.
Imagine someone using it to find "the biggest size available under $1" and then taking that value to execute some other script.
alias curl='curl --proto-default https'