#!/bin/bash if [ ! -z "$(which ruby | awk '/\.rvm/{print}')" ] ; then echo "[$(which ruby | xargs dirname | xargs dirname | xargs basename | tr '-' ':')]" fi