Skip to content

Instantly share code, notes, and snippets.

@jsfaint
Created March 10, 2015 02:30
Show Gist options
  • Save jsfaint/58be6044f66a387c4d09 to your computer and use it in GitHub Desktop.
Save jsfaint/58be6044f66a387c4d09 to your computer and use it in GitHub Desktop.
set proxy for command, e.g.: ./proxy vim
#!/bin/bash
proxy=127.0.0.1:7777
http_proxy=$proxy https_proxy=$proxy $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment