Merge pull request #391 from bobthecow/bundler-plugin-execs

Allow adding bundler plugin execs in local config.
This commit is contained in:
Jorge Bucaran 2015-02-25 13:54:49 +09:00
commit 79a3fda9a8

View File

@ -1,6 +1,10 @@
# These methods override the default calls to append `bundle exec` if this gem # These methods override the default calls to append `bundle exec` if this gem
# is available within the context of bundler. # is available within the context of bundler.
# #
# You can add more bundled executables in your config.fish:
#
# set bundler_plugin_execs jekyll mustache
#
set -l execs annotate \ set -l execs annotate \
cap \ cap \
capify \ capify \
@ -28,6 +32,10 @@ set -l execs annotate \
unicorn \ unicorn \
unicorn_rails unicorn_rails
if set -q bundler_plugin_execs
set execs $execs $bundler_plugin_execs
end
# Fish 2.1.1+ has support for --inherit-variable # Fish 2.1.1+ has support for --inherit-variable
set -l do_eval (echo $FISH_VERSION | grep 2.1.1-) set -l do_eval (echo $FISH_VERSION | grep 2.1.1-)