Skip to content

Instantly share code, notes, and snippets.

@hrp
Created January 16, 2010 00:35
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 hrp/278545 to your computer and use it in GitHub Desktop.
Save hrp/278545 to your computer and use it in GitHub Desktop.
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
# PATH=$PATH:$HOME/ruby/trunk/bin
PATH=$HOME/ruby/trunk/bin:$PATH
export PATH
unset USERNAME
function prompt
{
local WHITE="\[\033[1;37m\]"
local GREEN="\[\033[0;32m\]"
local CYAN="\[\033[0;36m\]"
local GRAY="\[\033[0;37m\]"
local BLUE="\[\033[0;34m\]"
local YELLOW="\[\033[1;33m\]"
export PS1="
${YELLOW}\w${CYAN} $ ${GREEN} "
}
prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment