Skip to content

Instantly share code, notes, and snippets.

View cedric-legallo's full-sized avatar

Cedric Le Gallo cedric-legallo

View GitHub Profile
#! /bin/sh
proxy="YOUR_PROXY"
sublimePath="$HOME/YOUR_PATH_TO_SUBLIME_PACKAGE_FILE"
if [ "$1" == "on" ]; then
echo "exporting proxy"
export http_proxy=$proxy
export https_proxy=$proxy