Skip to content

Instantly share code, notes, and snippets.

@mbauhardt
Last active December 15, 2015 22:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbauhardt/5331601 to your computer and use it in GitHub Desktop.
Save mbauhardt/5331601 to your computer and use it in GitHub Desktop.
one of my tiny oh my zsh env
alias emacs="/Applications/Emacs.app/Contents/MacOS/emacs -nw"
alias gbc="git branch --contains"
compdef _git gbc=git-branch
alias glpg="git log --pretty=format:'%C(red)%h %C(magenta)%an %C(cyan)%ar% %C(green)%s' --graph"
compdef _git glpg=git-log
export PATH=/usr/local/bin:$PATH
# EC2
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
export EC2_PRIVATE_KEY="$(/bin/ls "$HOME"/.ssh/ec2/pk-*.pem | /usr/bin/head -1)"
export EC2_CERT="$(/bin/ls "$HOME"/.ssh/ec2/cert-*.pem | /usr/bin/head -1)"
export EC2_HOME="/usr/local/Library/LinkedKegs/ec2-api-tools/jars"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment