Created
October 5, 2011 01:57
-
-
Save yosemsweet/1263427 to your computer and use it in GitHub Desktop.
.bashrc file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Your normal .bashrc code should go here | |
# adding RVM | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
# Use current directory bin path first | |
export PATH=./bin/$PATH | |
#load bash bash colours and git completion for a pretty and efficient workflow | |
source ~/bash-colours.sh | |
source ~/git-completion.bash #This allows you to tab complete git commands and branches. very useful | |
#write out ruby version, gemset, git repository, and current branch in your prompt | |
# ~/workspace/louvre (1.9.2-p180@louvre) [master] → | |
export PS1="\[$IGreen\]\w \[$Yellow\](\$(~/.rvm/bin/rvm-prompt v p g s)) \[$Yellow\]\$(__git_ps1 [%s]) \[$BIGreen\]→ \[$Color_Off\] " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment