Skip to content

Instantly share code, notes, and snippets.

@chyld
Last active December 11, 2015 18:09
Show Gist options
  • Save chyld/4639828 to your computer and use it in GitHub Desktop.
Save chyld/4639828 to your computer and use it in GitHub Desktop.
txtblk='\[\e[0;30m\]' # Black
txtred='\[\e[0;31m\]' # Red
txtgrn='\[\e[0;32m\]' # Green
txtylw='\[\e[0;33m\]' # Yellow
txtblu='\[\e[0;34m\]' # Blue
txtpur='\[\e[0;35m\]' # Purple
txtcyn='\[\e[0;36m\]' # Cyan
txtwht='\[\e[0;37m\]' # White
txtrst='\[\e[0m\]' # Text Reset
PATH=/usr/local/git/bin:$HOME/.rvm/bin:$HOME/Documents/scripts:$PATH
HISTFILESIZE=9000
export CLICOLOR=1
export LSCOLORS=fxexcxdxbxegedabagacad
source ~/.rvm/scripts/rvm
alias l='ls -al'
alias b='cd ..'
alias h='history'
function branch
{
git status 2> /dev/null | ruby ~/Documents/scripts/branch.rb
}
echo "----------------------------------------------------------------"
echo "$(git --version)"
echo "$(ruby -v)"
echo "$(rails -v)"
echo "----------------------------------------------------------------"
PS1="$txtylw\w$txtgrn\$(branch)$txtwht ∴$txtrst "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment