scripts/rvm-prompt in rvm-0.0.42 vs scripts/rvm-prompt in rvm-0.0.43
- old
+ new
@@ -1,5 +1,5 @@
#!/bin/bash
-if [ ! -z "$(echo `which ruby` | grep '\.rvm')" ] ; then
+if [ ! -z "$(which ruby | awk '/\.rvm/{print}')" ] ; then
echo "[$(which ruby | xargs dirname | xargs dirname | xargs basename | tr '-' ':')]"
fi