Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am echiu64 on github.
  • I am echiu (https://keybase.io/echiu) on keybase.
  • I have a public key whose fingerprint is EA95 9137 D08F A5C0 3E28 EADB B18A 8C7F 3A9E F30F

To claim this, I am signing this object:

local user='%{%F{109}%}%n%{$fg[white]%}@%{%F{109}%}%m%{$reset_color%}'
local pwd='%{$fg[blue]%}%64<...<%~%{$reset_color%}'
local rvm=''
if which rvm-prompt &> /dev/null; then
rvm='%{$fg[green]%}‹$(rvm-prompt i v g)›%{$reset_color%}'
else
if which rbenv &> /dev/null; then
rvm='%{$fg[green]%}‹$(rbenv version |grep -v system | sed -e "s/ (set.*$//")›%{$reset_color%}'
fi
fi