fix(bundler): restore `bu` and add `bua` alias (#13872)
* fix(bundler): make `bu` pass arguments through
Preserve `bundle update --all` for the no-argument form while allowing specific gems and options to pass through.
Fixes #13871
Assisted-by: Claude Fable 5 (Claude Code)
* fix(bundler): keep bu as generic update alias
* feat(bundler): add alias for update all
Diff
1diff --git a/plugins/bundler/README.md b/plugins/bundler/README.md
2index 8280a344c39d47f05b92514825fae17d67713ccd..b322b8d71645e3ece8cdd5011af37ad494efc211 100644
3--- a/plugins/bundler/README.md
4+++ b/plugins/bundler/README.md
5@@ -22,7 +22,8 @@ plugins=(... bundler)
6 | `bo` | `bundle open` | Opens the source directory for a gem in your bundle |
7 | `bout` | `bundle outdated` | List installed gems with newer versions available |
8 | `bp` | `bundle package` | Package your needed .gem files into your application |
9-| `bu` | `bundle update --all` | Update your gems to the latest available versions |
10+| `bu` | `bundle update` | Update your gems to the latest available versions |
11+| `bua` | `bundle update --all` | Update all gems to the latest available versions |
1213 ## Gem wrapper
1415diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh
16index a496d42de181aef1ad100e0f4491907ef08f3c46..4af27f4d27a4cd1612d253f16fa107b95e7858d6 100644
17--- a/plugins/bundler/bundler.plugin.zsh
18+++ b/plugins/bundler/bundler.plugin.zsh
19@@ -9,7 +9,8 @@ alias bl="bundle list"
20 alias bo="bundle open"
21 alias bout="bundle outdated"
22 alias bp="bundle package"
23-alias bu="bundle update --all"
24+alias bu="bundle update"
25+alias bua="bundle update --all"
2627 ## Gem wrapper
28