Automatically overrides the some calls to prepend bundle exec
if the gem is
available within the context of a Ruby bundle.
This is a fork of [oh-my-fish/plugin-bundler] with some bugfixes, supporting only Fish 3.0 supported and configured for Fisher installation.
Install with [Fisher] (recommended):
# Fisher v3.x
fisher add halostatue/fish-ruby-bundler
# Fisher v4.0+
fisher install halostatue/fish-ruby-bundler
Not using a package manager?
Copy functions/*.fish
, conf.d/*.fish
, to your fish configuration directory
preserving the directory structure.
- [fish] 3.0+
The following executables will automatically be wrapped:
annotate
cap
capify
cucumber
dashing
guard
kitchen
middleman
nanoc
puma
rackup
rainbows
rake
rspec
rubocop
ruby
shotgun
sidekiq
spec
spinach
spork
thin
thor
unicorn
unicorn_rails
Additional bundled executables may be added in your config.fish
by setting
the list in the bundler_execs
variable:
set bundler_execs jekyll mustache
For compatibility with [oh-my-fish/plugin-bundler], this plugin also supports
bundler_plugin_execs
for the same purpose.
set bundler_plugin_execs jekyll mustache
[]: https://github.com/halostatue/fish-ruby-bundler/releases [Fisher]: https://github.com/jorgebucaran/fisher [fish]: https://github.com/fish-shell/fish-shell [oh-my-fish/plugin-bundler]: https://github.com/oh-my-fish/plugin-bundler