Last active
October 13, 2015 18:17
-
-
Save julien-duponchelle/4236118 to your computer and use it in GitHub Desktop.
Prompt
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
function __rvm_prompt { | |
rvm-prompt ' ' i v g | |
} | |
function __color_prompt { | |
local G='\[\033[01;32m\]' | |
local B='\[\033[01;34m\]' | |
local W='\[\033[00m\]' | |
local R='\[\033[01;31m\]' | |
local Y='\[\033[01;33m\]' | |
PS1="$B[\A]$G\$(__rvm_prompt)$Y\$(__git_ps1)$W:$B\w$W#\n=> " | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment