Skip to content

Instantly share code, notes, and snippets.

View millie's full-sized avatar

Millie Tadewaldt millie

  • San Francisco, CA
View GitHub Profile
@millie
millie / rvm_installer.sh
Created April 15, 2012 06:51
rvm_installer
#!/usr/bin/env bash
shopt -s extglob
PS4="+ \${BASH_SOURCE##\${rvm_path:-}} : \${FUNCNAME[0]:+\${FUNCNAME[0]}()} \${LINENO} > "
export PS4
set -o errtrace
set -o errexit
log() { printf "%b\n" "$*" ; return $? ; }