# Condense and colorize the command prompt export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' # Colorize MacPorts GNU ls output if [[ $(which gdircolors) = /opt/local/bin/gdircolors && \ $(which gls) = /opt/local/bin/gls ]] then eval "$(gdircolors -b)" alias ls='gls --color=auto' fi # Enable command completion if using the MacPorts shell src=/opt/local/etc/profile.d/bash_completion.sh [[ $BASH = /opt/local/bin/bash && -f $src && -r $src ]] && . "$src" unset src