Skip to content

Instantly share code, notes, and snippets.

@peterhoeg
Created April 17, 2011 15:56
Show Gist options
  • Save peterhoeg/924158 to your computer and use it in GitHub Desktop.
Save peterhoeg/924158 to your computer and use it in GitHub Desktop.
Trace from rvm-prompt
rvm local@mildred:~$ set -x
++ rvm-prompt
++ parse_git_branch
++ git branch
++ sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
rvm local@mildred:~$ rvm-prompt
+ rvm-prompt
rvm
++ rvm-prompt
++ parse_git_branch
++ git branch
++ sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
rvm local@mildred:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment