Created
October 14, 2011 20:34
-
-
Save Fitzsimmons/1288255 to your computer and use it in GitHub Desktop.
bundle exec helper for zsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Customize to your needs... | |
be() { | |
if [[ -a Gemfile ]]; then | |
bundle exec $* | |
else | |
command $* | |
fi | |
} | |
alias rake='be rake' | |
alias ruby='be ruby' | |
alias spork='be spork' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment