Created
June 25, 2011 16:44
-
-
Save HeroicEric/1046647 to your computer and use it in GitHub Desktop.
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
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function | |
txtred='\033[0;31m' | |
txtgrn='\033[0;32m' | |
txtcya='\033[0;36m' | |
txtpur='\033[;35m' | |
txtrst='\e[0m' # Text Reset | |
print_before_the_prompt () { | |
printf "$txtpur$USER: $PWD\n" | |
} | |
PROMPT_COMMAND=print_before_the_prompt | |
if [ $? = 0 ] ; then | |
PS1="$txtcya--> $txtrst"; | |
else | |
PS1="$txtred--> $txtrst"; | |
fi | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
# Open with Sublime Text 2 | |
alias slime='open -a "/Applications/Sublime Text 2.app"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment