From cc8a32db888f826e1232070100a7be23591abdb4 Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Thu, 19 Mar 2009 23:09:45 +1000 Subject: [PATCH] Stop sudo password prompting when opening new shell because of using alias for gem command which includes sudo --- gemdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemdoc b/gemdoc index 2f92889..5e8b5fa 100644 --- a/gemdoc +++ b/gemdoc @@ -1,5 +1,5 @@ # Gem Doc -export GEMDIR=`gem env gemdir` +export GEMDIR=`/usr/bin/gem env gemdir` gemdoc() { open $GEMDIR/doc/`$(which ls) $GEMDIR/doc | grep $1 | sort | tail -1`/rdoc/index.html }