Skip to content

Instantly share code, notes, and snippets.

@rafaelcgo
Created February 10, 2015 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafaelcgo/54a13a48a7b0944cf0cb to your computer and use it in GitHub Desktop.
Save rafaelcgo/54a13a48a7b0944cf0cb to your computer and use it in GitHub Desktop.
.bashrc Formatting PS1 with RVM and Date
# FORMATACAO FOLDER \W FORMATACAO
export PS1="\[\e[1m\]\W\[\e[0m\] \$ "
# adding RVM ruby information
# FORMATACAO RVM FORMATACAO
export PS1="[\[\e[31;1m\]\$(~/.rvm/bin/rvm-prompt i v p g)\[\e[0m\]]\[\e[0m\]:$PS1"
# adding Timestamp
# DIA DA SEMANA \D HORARIO \t
export PS1="[\[\e[31;1m\]\D{%d}\[\e[0m\]]\[\e[0m\][\[\e[31;1m\]\t\[\e[0m\]]\[\e[0m\]$PS1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment