Skip to content

Instantly share code, notes, and snippets.

@julien-duponchelle
Last active October 13, 2015 18:17
Show Gist options
  • Save julien-duponchelle/4236118 to your computer and use it in GitHub Desktop.
Save julien-duponchelle/4236118 to your computer and use it in GitHub Desktop.
Prompt
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