Added ability to override default bundle exec commands in custom configuration file

This commit is contained in:
Matthew Turney 2012-04-27 15:03:42 -05:00
commit 41e1420919

View file

@ -6,7 +6,13 @@ alias bu="bundle update"
# The following is based on https://github.com/gma/bundler-exec # The following is based on https://github.com/gma/bundler-exec
if [ -f $ZSH_CUSTOM/bundle-commands.zsh ]; then
source $ZSH_CUSTOM/bundle-exec.zsh
fi
if [[ -z "${bundled_commands}" ]]; then
bundled_commands=(annotate cap capify cucumber ey foreman guard heroku middleman nanoc rackup rainbows rails rake rspec ruby shotgun spec spork thin thor unicorn unicorn_rails) bundled_commands=(annotate cap capify cucumber ey foreman guard heroku middleman nanoc rackup rainbows rails rake rspec ruby shotgun spec spork thin thor unicorn unicorn_rails)
fi
## Functions ## Functions