Stop sudo password prompting when opening new shell because of using alias for gem command which includes sudo

pull/2/head
Bodaniel Jeanes 2009-03-19 23:09:45 +10:00
parent a85641652a
commit cc8a32db88
1 changed files with 1 additions and 1 deletions

2
gemdoc
View File

@ -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
}