Browse Source

Merge branch 'master' of github.com:ptillemans/oh-my-zsh

Peter Tillemans 12 years ago
parent
commit
370dbe4fc7
2 changed files with 4 additions and 3 deletions
  1. 1 1
      plugins/bundler/bundler.plugin.zsh
  2. 3 2
      tools/check_for_upgrade.sh

+ 1 - 1
plugins/bundler/bundler.plugin.zsh

@@ -6,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 middleman nanoc rackup rainbows rails rake rspec ruby shotgun spec spork thin thor unicorn unicorn_rails)
+bundled_commands=(annotate cap capify cucumber foreman guard middleman nanoc rackup rainbows rake rspec ruby shotgun spec spork thin thor unicorn unicorn_rails)
 
 ## Functions
 

+ 3 - 2
tools/check_for_upgrade.sh

@@ -32,9 +32,10 @@ then
       echo "[Oh My Zsh] Would you like to check for updates?"
       echo "Type Y to update oh-my-zsh: \c"
       read line
-      if [ "$line" = Y ] || [ "$line" = y ]
-      then
+      if [ "$line" = Y ] || [ "$line" = y ]; then
         _upgrade_zsh
+      else
+        _update_zsh_update
       fi
     fi
   fi