Skip to content

Instantly share code, notes, and snippets.

@papoms
Last active October 10, 2015 03:17
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 papoms/3624034 to your computer and use it in GitHub Desktop.
Save papoms/3624034 to your computer and use it in GitHub Desktop.
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