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:
parent
5003586fdd
commit
ed69561695
2
.bashrc
2
.bashrc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user