Permalink
Browse files

Simplify bashrc

  • Loading branch information...
1 parent 47e6ef1 commit b26e4a5d62d0fe1e45d20efc75271945f8a102ac @delwyn committed Jul 9, 2012
Showing with 5 additions and 10 deletions.
  1. +5 −10 bashrc
View
15 bashrc
@@ -1,23 +1,18 @@
export RUBYOPT="-rubygems"
-export EDITOR=vim
-
-# Improves JRuby startup time. See http://blog.headius.com/2010/03/jruby-startup-time-tips.html
-export JAVA_OPTS="-d32"
-
-#shopt -s histappend
parse_git_branch() {
branch=$(/usr/bin/git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
if [ -n "$branch" ]; then
echo -ne "($branch)";
fi
}
+
+# Prompt Colors
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$(parse_git_branch)\[\033[00m\]\$ '
-#PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
+# Bash Aliases
[[ -f ~/.bash_aliases ]] && . ~/.bash_aliases
-[[ -f ~/.git-completion.sh ]] && . ~/.git-completion.sh
+# RVM
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
-PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
-PATH=$PATH:$HOME/dev/cakephp/lib/Cake/Console
+PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

0 comments on commit b26e4a5

Please sign in to comment.