Skip to content

Instantly share code, notes, and snippets.

@pyrat
Created March 23, 2009 14:01
Show Gist options
  • Save pyrat/83556 to your computer and use it in GitHub Desktop.
Save pyrat/83556 to your computer and use it in GitHub Desktop.
PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin"
PATH=$PATH:~/scripts/
export CLASSPATH="/Users/alastairbrunton/DITA/lib:/Users/alastairbrunton/DITA/lib/resolver.jar"
export DITA_HOME="/Users/alastairbrunton/Desktop/DITA-OT1.4.2.1"
# Get the aliases and functions
if [ -f ~/scripts/.personal_profile ]; then
. ~/scripts/.personal_profile
fi
# Get the mac specific aliases and functions
if [ -f ~/scripts/.mac_profile ]; then
. ~/scripts/.mac_profile
fi
alias apache2ctl='sudo /opt/local/apache2/bin/apachectl'
export CLICOLOR=1
export LSCOLORS=dxfxcxdxbxegedabagacad
#export LSCOLORS=ExFxCxDxBxegedabagacad
export PS1='\w > '
export SVN_EDITOR='nano'
export GIT_EDITOR='mate -w'
export EDITOR='mate -w'
if [[ -f "$HOME/.amazon_keys" ]]; then
source "$HOME/.amazon_keys";
fi
# Setup Amazon EC2 Command-Line Tools
export EC2_HOME=~/.ec2
export PATH=$PATH:$EC2_HOME/bin
export EC2_PRIVATE_KEY=`ls $EC2_HOME/pk-*.pem`
export EC2_CERT=`ls $EC2_HOME/cert-*.pem`
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment