Allow adding bundler plugin execs in local config.

set bundler_plugin_execs jekyll mustache
This commit is contained in:
Justin Hileman 2015-02-23 05:20:20 -08:00
parent b14c1039b5
commit dc00557f49

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-)