Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify bashrc

  • Loading branch information...
commit b26e4a5d62d0fe1e45d20efc75271945f8a102ac 1 parent 47e6ef1
@delwyn authored
Showing with 5 additions and 10 deletions.
  1. +5 −10 bashrc
View
15 bashrc
@@ -1,10 +1,4 @@
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/')
@@ -12,12 +6,13 @@ parse_git_branch() {
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
Please sign in to comment.
Something went wrong with that request. Please try again.