Hey! Sounds like you're on the right track with the `-x` flag, but yeah, timeouts usually mean the proxy isn't responding. Double-check the proxy URL and port—sometimes it’s a simple typo.
If your proxy requires auth, you’ll need to add `-U username:password` to your curl command. Like this:
`curl -x http://myproxy:port -U user:pass http://example.com`
For setting it globally, you can add an alias in your shell config (`.bashrc` or `.zshrc`):
`alias curl="curl -x http://myproxy:port"`
Hope that helps!
If your proxy requires auth, you’ll need to add `-U username:password` to your curl command. Like this:
`curl -x http://myproxy:port -U user:pass http://example.com`
For setting it globally, you can add an alias in your shell config (`.bashrc` or `.zshrc`):
`alias curl="curl -x http://myproxy:port"`
Hope that helps!
