1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2025-10-17 19:41:01 +00:00

Add gems in $GEM_HOME to project path

This commit is contained in:
Holger Just 2011-08-31 14:49:52 +02:00
parent 5003586fdd
commit ed69561695

View File

@ -257,7 +257,7 @@ cat() {
# directory for project
d() {
for dir in $HOME/workspace/$1 $HOME/$1 $1 /Volumes/Finn/$1 $RUBY_PATH/$RUBY_VERSION/lib/ruby/gems/*/gems/$1-*; do
for dir in $HOME/workspace/$1 $HOME/$1 $1 /Volumes/Finn/$1 $RUBY_PATH/$RUBY_VERSION/lib/ruby/gems/*/gems/$1-* $GEM_HOME/gems/$1; do
if [[ -d "$dir" ]]; then
echo $dir
break