69d30a6302f8c7daf6ad5ecf23224074789843db

Author
Bodo Tasche <bodo@wannawork.de>
Committer
Hakan Ensari <hakan.ensari@papercavalier.com>
Date

Message

Moved opening braces

Diff

 1diff --git a/plugins/bundler-exec/bundler-exec.plugin.zsh b/plugins/bundler-exec/bundler-exec.plugin.zsh
 2index bc4d35a84619696a0dfd1bf7e14e46c1a77ee575..09f44ed5e1e9b15a4865f13ed8210aa89d9f38e3 100644
 3--- a/plugins/bundler-exec/bundler-exec.plugin.zsh
 4+++ b/plugins/bundler-exec/bundler-exec.plugin.zsh
 5@@ -1,17 +1,15 @@
 6 # This plugin is based on https://github.com/gma/bundler-exec
 7-# modify the BUNDLED_COMMANDS if needed
 8+# modify the bundled_commands if needed
 9 
10 bundled_commands=(cucumber heroku rackup rails rake rspec ruby shotgun spec spork)
11 
12 ## Functions
13 
14-_bundler-installed()
15-{
16+_bundler-installed() {
17     which bundle > /dev/null 2>&1
18 }
19 
20-_within-bundled-project()
21-{
22+_within-bundled-project() {
23     local check_dir=$PWD
24     while [ "$(dirname $check_dir)" != "/" ]; do
25         [ -f "$check_dir/Gemfile" ] && return
26@@ -20,8 +18,7 @@ _within-bundled-project()
27     false
28 }
29 
30-_run-with-bundler()
31-{
32+_run-with-bundler() {
33     local command="$1"
34     shift
35     if _bundler-installed && _within-bundled-project; then