Skip to content

Instantly share code, notes, and snippets.

@iamjwc
Created June 10, 2009 19:18
Show Gist options
  • Save iamjwc/127429 to your computer and use it in GitHub Desktop.
Save iamjwc/127429 to your computer and use it in GitHub Desktop.
export TERM="xterm-color"
alias ls="ls -G"
WHITE="\[\033[0;37m\]"
DARK_GREY="\[\033[0;30m\]"
LIGHT_BLUE="\[\033[0;34m\]"
LIGHT_GREEN="\[\033[0;32m\]"
export PS1="\n$DARK_GREY[$LIGHT_BLUE\w$DARK_GREY]$LIGHT_GREEN\$ $WHITE"
export PATH="/usr/local/bin:/usr/local/sbin/:$PATH"
complete -C ~/.rake_tab_completion.rb -o default rake
# History help from http://blog.macromates.com/2008/working-with-history-in-bash/
export HISTCONTROL=erasedups
export HISTSIZE=10000
shopt -s histappend
# Enables color in the terminal
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
# Rails help
alias sc='./script/console'
alias ss='./script/server'
alias sdb='./script/dbconsole'
alias gs='git status'
function swap {
mv $1 $1_dis_is_a_swap_copy
mv $2 $1
mv $1_dis_is_a_swap_copy $2
}
# ImageMagick
export MAGICK_HOME="/usr/local"
export DYLD_LIBRARY_PATH="/usr/local/lib"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment