Skip to content

Instantly share code, notes, and snippets.

@dsasser
Created August 15, 2014 21:40
Show Gist options
  • Select an option

  • Save dsasser/c5303c6b3cbcd58b3c99 to your computer and use it in GitHub Desktop.

Select an option

Save dsasser/c5303c6b3cbcd58b3c99 to your computer and use it in GitHub Desktop.
export PATH=/usr/local/bin:$PATH
export AH_SITE_NAME=sf2
#aliases
alias php53="/Users/dsasser/switch-php-versions.sh 3"
alias php55="/Users/dsasser/switch-php-versions.sh 5"
alias php52="/Users/dsasser/switch-php-versions.sh 2"
# Environment Vars
export DRUSH_NO_MIN_PHP=1
# Default Editor
export EDITOR="/usr/local/bin/subl -w"
# Colorize the Terminal
export CLICOLOR=1
function parse_git_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
#sets up the color scheme for list export
LSCOLORS=gxfxcxdxbxegedabagacad
#sets up the prompt color (currently a green similar to linux terminal)
export PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\[\e[1;34m\]\$(parse_git_branch)\[\e[m\]\$ "
# export PS1="\h:\W \u\$(parse_git_branch)\$ "
#enables color for iTerm
export TERM=xterm-color
ssh-add ~/.ssh/id_rsa &>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment