bomberstudios /.bash_profile

my tweaked Mac OSX bash profile :)
export PATH=/opt/local/bin:/opt/local/sbin:$HOME/bin:$PATH:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin
export LC_CTYPE=en_US.UTF-8
export SVN_EDITOR='mate -w'
export CLICOLOR=true

alias ..="cd .."
alias la="ls -la"
alias pa="ps ax -r -m -c"

# From http://hayne.net/MacDev/Bash/aliases.bash
set completion-ignore-case On

# dsrm: removes all .DS_Store file from the current dir and below
alias dsrm="find . -type f -name .DS_Store -print0 | xargs -0 rm"

# Uses OpenTerminal
alias cdf='eval `osascript /Users/ale/Applications/OpenTerminal.app/Contents/Resources/Scripts/OpenTerminal.scpt `'

# For sending paths by email...
alias pathcopy="pwd|pbcopy"

alias fw="open -a 'Adobe Fireworks CS3'"

# Misc Subversion aliases
alias st="svn st"
alias 7up="svn up"
alias svnclean="find . -name .svn -exec rm -rf {} \;"

# Subversion bash_completion
if [ -f /opt/local/etc/bash_completion ]; then
  . /opt/local/etc/bash_completion
fi

# Flash debug
alias flashlog="tail -f /Users/ale/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt"

# zipf: to create a ZIP archive of a folder
zipf () { dsrm; zip -r "$1".zip "$1" ; }

# to stop Finder writing .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores true

# disable and re-enable Dashboard Widgets
alias disableDashboard='defaults write com.apple.dashboard mcx-disabled -bool YES; killall Dock'
alias enableDashboard='defaults delete com.apple.dashboard mcx-disabled; killAll Dock'

# 30m - Black
# 31m - Red
# 32m - Green
# 33m - Yellow
# 34m - Blue
# 35m - Purple
# 36m - Cyan
# 37m - White
# Everything else is green...
# 0 - Normal
# 1 - Bold
# 2 - 
function prompt {
	local BLACK="\[\033[0;30m\]"
	local RED="\[\033[0;31m\]"
	local GREEN="\[\033[0;32m\]"
	local YELLOW="\[\033[0;33m\]"
	local BLUE="\[\033[0;34m\]"
	local PURPLE="\[\033[0;35m\]"
	local CYAN="\[\033[0;36m\]"
	local WHITE="\[\033[0;37m\]"
	local WHITEBOLD="\[\033[1;37m\]"
export PS1="
${WHITE}\u${RED}@${PURPLE}\h ${CYAN}\w${YELLOW}
$ "
}
prompt