diff --git a/.bashrc b/.bashrc index 0fd0965..4a76265 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__:$GEM_HOME/gems/__path__" + local dirs="$HOME/workspace/__path__:$HOME/__path__:./__path__:/Volumes/Finn/__path__:$GEM_HOME/gems/__gempath__:$GEM_HOME/gems/__path__:$GEM_HOME/bundler/gems/__gempath__:$GEM_HOME/bundler/gems/__path__" if [[ -n "$1" ]]; then dirs="${dirs//__gempath__/__path__-*}" echo ${dirs//__path__/$1}