Created
January 5, 2012 01:09
-
-
Save ramhiser/1563162 to your computer and use it in GitHub Desktop.
My .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
PATH=~/scripts:/usr/local/bin:$PATH:/usr/local/texlive/2011/bin/x86_64-darwin:/usr/local/sbin | |
export PATH | |
# Never save or restore when running R | |
alias R='R --no-save --no-restore-data --quiet' | |
# The colors are used with the Solarized dark color theme in Putty. | |
# They make look terrible if Solarized is not installed. | |
# Here's the link to Solarized: | |
# http://ethanschoonover.com/solarized | |
# | |
# I used the following website to generate my prompt: | |
# http://www.linuxhelp.net/guides/bashprompt/bashprompt-print.php | |
# | |
# There, I used the following code: | |
# <green>(<white>\d<yellow>@<white>\@<green>) (<white>\u<yellow>@<white>\h<green>) (<white>\W<green>)<space>$<space> | |
# | |
# NOTE: I added the last part manually to get my font color after I generated the prompt on the site. | |
# Here's the font color: \[\033[0;38m\] | |
PS1="\[\033[0;32m\](\[\033[1;37m\]\\d\[\033[1;33m\]@\[\033[1;37m\]\\@\[\033[0;32m\])(\[\033[1;37m\]\\u\[\033[1;33m\]@\[\033[1;37m\]\\h\[\033[\ | |
0;32m\])(\[\033[1;37m\]\\W\[\033[0;32m\]) $ \[\033[0;38m\]" | |
export PS1 | |
# Ruby Version Manager (RVM) | |
# This loads RVM into a shell session. | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" | |
# Enable shims and autocompletion for Octopress. | |
# https://github.com/sstephenson/rbenv | |
eval "$(rbenv init -)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment