An alternative idea to the alias: set https_proxy=http://127.0.0.1:8082
env variable. This will make curl/wget work automatically, in this terminal only. No need to change anything in upstream installation instruction then. The steps are then:
- Open terminal in the template
- Enter
export https_proxy=http://127.0.0.1:8082
- Follow upstream instructions
The command is easy to enter wrong, but we could have an alias like enable-network-proxy
. I think that’s significantly simpler than wrapping curl, wget and whatnot. And also, should allow only http s traffic, but not plain http (at least in theory).