From 4220e3f4f99392f2adda2b6b65eee0b76c2e92bb Mon Sep 17 00:00:00 2001 From: Holger Just Date: Mon, 12 Sep 2011 13:18:31 +0200 Subject: [PATCH] Allow to override gem version during c and d --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 43bcf47..0fd0965 100755 --- a/.bashrc +++ b/.bashrc @@ -259,7 +259,7 @@ cat() { # directory for project project_dirs() { - local dirs="$HOME/workspace/__path__:$HOME/__path__:./__path__:/Volumes/Finn/__path__:$RUBY_PATH/$RUBY_VERSION/lib/ruby/gems/*/gems/__gempath__:$GEM_HOME/gems/__gempath__" + local dirs="$HOME/workspace/__path__:$HOME/__path__:./__path__:/Volumes/Finn/__path__:$RUBY_PATH/$RUBY_VERSION/lib/ruby/gems/*/gems/__gempath__:$GEM_HOME/gems/__gempath__:$GEM_HOME/gems/__path__" if [[ -n "$1" ]]; then dirs="${dirs//__gempath__/__path__-*}" echo ${dirs//__path__/$1}