mirror of
https://github.com/meineerde/dotfiles.git
synced 2025-12-20 16:51:11 +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
|
# directory for project
|
||||||
d() {
|
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
|
if [[ -d "$dir" ]]; then
|
||||||
echo $dir
|
echo $dir
|
||||||
break
|
break
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user