浏览代码

bundler: add rubocop to bundled_commands (#8169)

Marc Cornellà 5 年之前
父节点
当前提交
1a6480e486
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 2
      plugins/bundler/README.md
  2. 1 0
      plugins/bundler/bundler.plugin.zsh

+ 2 - 2
plugins/bundler/README.md

@@ -2,7 +2,7 @@
 
 
 - adds completion for basic bundler commands
 - adds completion for basic bundler commands
 - adds short aliases for common bundler commands
 - adds short aliases for common bundler commands
-  - `be` aliased to `bundle exec`.  
+  - `be` aliased to `bundle exec`.
     It also supports aliases (if `rs` is `rails server`, `be rs` will bundle-exec `rails server`).
     It also supports aliases (if `rs` is `rails server`, `be rs` will bundle-exec `rails server`).
   - `bl` aliased to `bundle list`
   - `bl` aliased to `bundle list`
   - `bp` aliased to `bundle package`
   - `bp` aliased to `bundle package`
@@ -15,7 +15,7 @@
   - calls `bundle exec <gem executable>` otherwise
   - calls `bundle exec <gem executable>` otherwise
 
 
 Common gems wrapped by default (by name of the executable):
 Common gems wrapped by default (by name of the executable):
-`annotate`, `cap`, `capify`, `cucumber`, `foodcritic`, `guard`, `hanami`, `irb`, `jekyll`, `kitchen`, `knife`, `middleman`, `nanoc`, `pry`, `puma`, `rackup`, `rainbows`, `rake`, `rspec`, `shotgun`, `sidekiq`, `spec`, `spork`, `spring`, `strainer`, `tailor`, `taps`, `thin`, `thor`, `unicorn` and `unicorn_rails`.
+`annotate`, `cap`, `capify`, `cucumber`, `foodcritic`, `guard`, `hanami`, `irb`, `jekyll`, `kitchen`, `knife`, `middleman`, `nanoc`, `pry`, `puma`, `rackup`, `rainbows`, `rake`, `rspec`, `rubocop`, `shotgun`, `sidekiq`, `spec`, `spork`, `spring`, `strainer`, `tailor`, `taps`, `thin`, `thor`, `unicorn` and `unicorn_rails`.
 
 
 ## Configuration
 ## Configuration
 
 

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

@@ -27,6 +27,7 @@ bundled_commands=(
   rainbows
   rainbows
   rake
   rake
   rspec
   rspec
+  rubocop
   shotgun
   shotgun
   sidekiq
   sidekiq
   spec
   spec