xmlblog / dotfiles

My personal bash, vim, emacs, git, and Ruby dotfiles with OS X and Linux branches

This URL has Read+Write access

Christian Romney (author)
Tue May 12 08:48:15 -0700 2009
commit  b67be58ec44e14f6098b3c7905c4759496f976cb
tree    59f97206dab9dc43072c94346e7eb25fe39587db
parent  42e022bbbbfbb7c6d7d8d1973571e7585b8fb4ab
dotfiles / .proxies
100644 17 lines (13 sloc) 0.442 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This file exports the actual http_proxy and credentials
# christian:secret@proxy.example.org:8080
 
if [ -f $HOME/.creds ]; then
  source $HOME/.creds
fi
 
export http_proxy=http://$CREDS
export HTTP_PROXY=$http_proxy
export ftp_proxy=$http_proxy
export FTP_PROXY=$ftp_proxy
export RSYNC_PROXY=rsync://$CREDS
 
# Update the aliases to use the proxy settings
alias gi="sudo gem install -p $http_proxy"
alias gu="sudo gem update -p $http_proxy"