Skip to content

Commit

Permalink
Merge pull request #16 from kevinoid/ruby3
Browse files Browse the repository at this point in the history
Update executable version suffixes for ruby 3.0-3.3
  • Loading branch information
mernen authored Jun 3, 2024
2 parents bedaabe + e4e0050 commit 0b0faf2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion completion-bundle
Original file line number Diff line number Diff line change
Expand Up @@ -250,5 +250,5 @@ __bundle_exec_ruby() {
}


complete -F __bundle -o bashdefault -o default bundle bundler
complete -F __bundle -o bashdefault -o default bundle bundle2.{0..7} bundle3.{0..3} bundler bundler2.{0..7} bundler3.{0..3}
# vim: ai ft=sh sw=4 sts=4 et
2 changes: 1 addition & 1 deletion completion-gem
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,5 @@ __gem_command_options() {
end' 2>/dev/null
}

complete -F __gem -o bashdefault -o default gem gem1.{8..9} gem2.{0..7} jgem
complete -F __gem -o bashdefault -o default gem gem1.{8..9} gem2.{0..7} gem3.{0..3} jgem
# vim: ai ft=sh sw=4 sts=4 et
2 changes: 1 addition & 1 deletion completion-rake
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,5 @@ __rake_tasks() {
fi
}

complete -F __rake -o bashdefault -o default rake rake1.8 rake1.9
complete -F __rake -o bashdefault -o default rake rake1.{8..9} rake2.{0..7} rake3.{0..3}
# vim: ai ft=sh sw=4 sts=4 et
2 changes: 1 addition & 1 deletion completion-ruby
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ __ruby() {
fi
}

complete -F __ruby -o filenames -o bashdefault -o default ruby ruby1.{8..9} ruby2.{0..7}
complete -F __ruby -o filenames -o bashdefault -o default ruby ruby1.{8..9} ruby2.{0..7} ruby3.{0..3}
# vim: ai ft=sh sw=4 sts=4 et
8 changes: 4 additions & 4 deletions completion-ruby-all
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ else
}
fi

_cr_load gem gem1.{8..9} gem2.{0..7} jgem
_cr_load gem gem1.{8..9} gem2.{0..7} gem3.{0..3} jgem
_cr_load jruby
_cr_load rails
_cr_load bundle bundler
_cr_load rake
_cr_load ruby ruby1.{8..9} ruby2.{0..7}
_cr_load bundle bundle2.{0..7} bundle3.{0..3} bundler bundler2.{0..7} bundler3.{0..3}
_cr_load rake rake1.{8..9} rake2.{0..7} rake3.{0..3}
_cr_load ruby ruby1.{8..9} ruby2.{0..7} ruby3.{0..3}

unset -f _cr_load _cr_anycmd
unset -v _CR_PATH
Expand Down

0 comments on commit 0b0faf2

Please sign in to comment.