diff options
author | fred-o <fredrik.appelberg@gmail.com> | 2012-02-20 09:41:45 +0100 |
---|---|---|
committer | fred-o <fredrik.appelberg@gmail.com> | 2012-02-20 09:41:45 +0100 |
commit | 7e5dda7f434b847e4a8899beb736a7251da3d390 (patch) | |
tree | 45eccafa617e7e3ec4e7e97ff7569b157786dd6c /plugins/bundler | |
parent | f5041025844a2509f42e0bb19cb8d5418340e10c (diff) | |
parent | 362927003bcd8052e294dcbdf14f061ef4f2e173 (diff) | |
download | zsh-7e5dda7f434b847e4a8899beb736a7251da3d390.tar.gz zsh-7e5dda7f434b847e4a8899beb736a7251da3d390.tar.bz2 zsh-7e5dda7f434b847e4a8899beb736a7251da3d390.zip |
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/bundler')
-rw-r--r-- | plugins/bundler/bundler.plugin.zsh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh index 55564a252..5e9b82336 100644 --- a/plugins/bundler/bundler.plugin.zsh +++ b/plugins/bundler/bundler.plugin.zsh @@ -1,7 +1,3 @@ -fpath=($ZSH/plugins/bundler $fpath) -autoload -U compinit -compinit -i - alias be="bundle exec" alias bi="bundle install" alias bl="bundle list" @@ -10,7 +6,7 @@ alias bu="bundle update" # The following is based on https://github.com/gma/bundler-exec -bundled_commands=(annotate cap capify cucumber foreman guard heroku nanoc rackup rainbows rake rspec ruby shotgun spec spork thin unicorn unicorn_rails) +bundled_commands=(annotate cap capify cucumber ey foreman guard heroku middleman nanoc rackup rainbows rake rspec ruby shotgun spec spork thin thor unicorn unicorn_rails) ## Functions @@ -20,7 +16,7 @@ _bundler-installed() { _within-bundled-project() { local check_dir=$PWD - while [ "$(dirname $check_dir)" != "/" ]; do + while [ $check_dir != "/" ]; do [ -f "$check_dir/Gemfile" ] && return check_dir="$(dirname $check_dir)" done |