Skip to content

Instantly share code, notes, and snippets.

@papoms

papoms/.bash_profile

Last active Oct 10, 2015
Embed
What would you like to do?
Bash Prompt Profile
# Bash Prompt
# export PS1="\[\033[0;32m\]\u@\[\033[0;34m\]\h \[\033[1;34m\]\w\[\033[0m\]$ "
export PS1='\[\033[01;32m\]\u\[\033[01;34m\] \w\[\033[31m\]$(git branch 2>/dev/null|cut -f2 -d\* -s)\n\[\033[1;37m\]➜\[\033[00m\] '
# My Path
export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin/whatweb:$PATH
# LS COLORS
export TERM="xterm-color"
export CLICOLOR="true"
export LSCOLORS="exfxcxdxbxegedabagacad"
# Start MacVim instead of vim
alias vim="mvim"
#Amazon EC2 Api
export JAVA_HOME="$(/usr/libexec/java_home)"
export EC2_PRIVATE_KEY="$(/bin/ls "$HOME"/.ssh/amazon/pk-*.pem | /usr/bin/head -1)"
export EC2_CERT="$(/bin/ls "$HOME"/.ssh/amazon/cert-*.pem | /usr/bin/head -1)"
export EC2_HOME="/usr/local/Library/LinkedKegs/ec2-api-tools/jars"
export EC2_URL="https://ec2.eu-west-1.amazonaws.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.