mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-22 12:16:09 +08:00
Allow adding bundler plugin execs in local config.
set bundler_plugin_execs jekyll mustache
This commit is contained in:
parent
b14c1039b5
commit
dc00557f49
|
@ -1,6 +1,10 @@
|
|||
# These methods override the default calls to append `bundle exec` if this gem
|
||||
# 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 \
|
||||
cap \
|
||||
capify \
|
||||
|
@ -28,6 +32,10 @@ set -l execs annotate \
|
|||
unicorn \
|
||||
unicorn_rails
|
||||
|
||||
if set -q bundler_plugin_execs
|
||||
set execs $execs $bundler_plugin_execs
|
||||
end
|
||||
|
||||
# Fish 2.1.1+ has support for --inherit-variable
|
||||
set -l do_eval (echo $FISH_VERSION | grep 2.1.1-)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user