0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00
Commit graph

98 commits

Author SHA1 Message Date
Carlo Sala
8510847ff3
fix(bundler): add completion for bundler bin as well
Closes #12482
2024-06-08 13:32:27 +02:00
michal panoch
d806649028
feat(bundler): add completion for info argument (#9594) 2021-12-28 17:30:32 +01:00
Marc Cornellà
15fd9c84de style(bundler): simplify bundled_commands array operations 2021-11-17 13:09:25 +01:00
Marc Cornellà
98b4801548 fix(bundler): use BUNDLE_JOBS in bi to avoid config file change
When calling `bundle install` with `--jobs=<n>`, bundle persists this
argument in `.bundle/config`. If we run `BUNDLE_JOBS=<n> bundle install`
instead, this is not persisted.

Fixes #10425
2021-11-17 13:09:25 +01:00
Marc Cornellà
89278c71b2 bundler: refactor bundler plugin and clean up gem wrappers 2020-10-03 18:41:42 +02:00
Sandip Subedi
e09aac3751
bundler: format aliases table and clean up README (#9300)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-10-03 18:38:44 +02:00
Marc Cornellà
4012df8fbb bundler: add alias for bundle add
Fixes #8892
2020-05-18 11:53:34 +02:00
Emanuel Alarcón
3e14fdd6b4
bundler: add alias for bundle check (#5000) 2020-05-18 11:48:44 +02:00
Marc Cornellà
b80b1a1e8b Actions to take after repository migration is complete (#8394)
* Change project URL from robbyrussell to ohmyzsh org

* Update git remote to use ohmyzsh org repository
2019-11-20 17:26:18 -08:00
Vsevolod Romashov
6b6f2b6dfd bundler: support new file naming convention (#6594) 2019-10-18 21:55:56 +02:00
Nick Fagerlund
a41d308f70 bundler: make it play nice with functions that call wrapped commands (#8271)
When another function calls one of the bundler plugin's wrapper functions, the
command to run gets passed as an array instead of a space-separated string. That
works fine when the arguments are expanded alone, like `bundle exec $@`, but
something like `./bin/$@` will expand to something like `./bin/rake
./bin/--silent ./bin/--tasks`, which of course will explode. This was causing a
nasty interaction with the rake-fast plugin, and I'd be shocked if it wasn't
causing other problems.

The fix is to explicitly turn off the `RC_EXPAND_PARAM` option for that expansion.
See http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion
for more details.
2019-10-18 18:43:25 +02:00
David Shaffer
372bb48cee
Add rubocop to bundler readme 2019-10-02 11:01:16 -04:00
David Shaffer
fc9093b745
Add rubocop to bundled_commands 2019-10-02 11:01:16 -04:00
Iulian Onofrei
08a2808636 Fix incorrect error message when running bi without having bundler installed (#7112) 2018-09-09 00:39:23 +02:00
Dennis Hägler
a52a5fb1f4 Remove the white space
The white space is causing an error and bundler cannot find any commands!
2018-08-16 22:41:29 +02:00
Marc Cornellà
91d55dce11
bundler: update README with latest changes 2018-08-08 13:36:27 +02:00
Marc Cornellà
2991f237ae
bundler: allow aliases in bundle exec
This means that if you have, for example, `alias rs='rails server'`, you can
run `be rs` and have it expanded to `bundle exec rails server`.

Fixes #5818
2018-08-07 21:04:09 +02:00
Marc Cornellà
d302e3eebe
bundler: fix bundle version git error
It seems that `bundle version` calls git to know the commit sha, while `bundle --version` only shows the version of bundler.

Fixes #6988
2018-07-18 23:34:38 +02:00
Marc Cornellà
be5bff2e86
Allow FreeBSD to correctly detect number of CPUs
Use the same scheme as Darwin - sysctl instead of nproc, which doesn't exist in FreeBSD

Closes #2545

Co-authored-by: Daniel Bye <dbye@users.noreply.github.com>
2018-06-12 19:54:47 +02:00
Vsevolod Romashov
37c2d0ddd7 add hanami to the list of wrapped gems (#6334) 2018-01-22 19:35:17 -08:00
Clemens Gruber
7fabc8bca4 bundler plugin: Simplify retrieval of cpu count on OSX (#5180)
Calling awk is not necessary here, sysctl has the -n flag to print the value.

Signed-off-by: Clemens Gruber <clemensgru@gmail.com>
2016-06-21 01:31:13 +02:00
Anton Rieder
a6ad7a0c8d Add missing alias to README of bundler plugin 2016-01-29 13:04:53 +01:00
Denis
bee79f0871 bundle outdated alias 2015-11-16 01:33:20 +03:00
Robby Russell
8921902388 Merge pull request #3852 from sachin21/add_alias_of_bundle_clean
Add alias of bundle clean
2015-06-14 22:28:33 -07:00
Filip Bartuzi
e55d84f76e Add reference to bundler plugin issue in README 2015-06-12 00:36:53 +02:00
Satoshi Ohmori
d60d4f68aa Add alias of bundle clean 2015-05-05 14:29:38 +09:00
Christian Höltje
63bae2aba9 Use $OSTYPE instead of uname to speed things up
The $OSTYPE variable is set at ZSH compile time and can be safely used
to determine the OS of the system. e.g. darwin (os x)
2014-07-23 09:18:14 -04:00
Thomas Kriechbaumer
4b997429b3 add BUNDLED_COMMANDS functionality to bundler plugin 2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
34bc91e79d added Bundler readme file 2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
b007fee187 add pry to bundler-commands 2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
11f0d273b5 add spring to bundler-commands 2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
cfc98d3f8c remove double bundle exec 2014-07-15 16:42:23 +02:00
toooooooby
20c84eaafc Add 'outdated' and 'platform' completions to bundler plugin 2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
f8ea9270eb remove berkshelf from bundler-commands
fixes #2076
2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
fdbfd41090 remove ruby from bundler-commands
related to #1587
closes #2200
closes #2561
2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
f5e69c6cab remove spin from bundler-commands
closes #1817
2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
a22e0256a3 remove foreman from bundler-commands
closes #1825
2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
c4eec0b134 add sidekiq to bundler-commands
closes #2779
2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
d29c53cb10 split bundler-commands into seperate lines
This makes adding, deleting and merging a lot easier.
2014-07-15 16:42:22 +02:00
Robby Russell
c925aabea9 Merge pull request #2885 from tsujigiri/bundler/run_binstubbed
Make bundler plugin run binstubbed cmd if existing
2014-07-15 07:40:48 -07:00
Helge Rausch
480ca22058 Make bundler plugin run binstubbed cmd if existing 2014-06-28 13:23:40 +02:00
Helge Rausch
f2b81e2977 Add spring to bundled commands 2014-06-28 10:12:20 +02:00
Marc Cornellà
340da08b9a Add missing quotes to within-bundler-project function 2014-06-28 10:12:19 +02:00
pangratz
c0b094cf85 Fix function/alias naming clash between bower and bundle plugin
Since the `bower` plugin specifies a `bi` alias and `bundle` plugin
specifies a `bi` function, there is a name clash when using both
plugins, which results in the message "Can't 'bundle install' outside a
bundled project" when trying to execute `bower`.

This adresses #2486
2014-05-25 11:15:12 +02:00
DeLynn Berry
7d696f79b8 Remove mailcatcher
The mailcatcher gem does not work correctly when executed through Bundler.
2014-04-04 08:11:11 -06:00
Miguel Flores Ruiz de Eguino
610655e827 Sort bundled commands alphabetically 2014-03-22 10:24:58 -06:00
Miguel Flores Ruiz de Eguino
c3150edad2 Add irb to the list of bundled commands 2014-03-21 19:18:29 -06:00
Brandon Beacher
840ae4382e Remove mailcatcher from the bundler plugin.
Recommended by @sj26 per https://github.com/sj26/mailcatcher#bundler.
2014-02-19 18:55:52 -05:00
Robby Russell
83c18f8553 Merge pull request #2195 from KevinBongart/command_blacklist_for_bundler_plugin
Add command blacklist support to bundler plugin
2013-12-03 00:16:22 -08:00
Brandon Siegel
22c0db64ee Change bi alias to a function
Only check the bundler version when we call bi. This fixes two issues:
First, if there is no bundler available system-wide this will cause an
error each time zsh loads. Second, if new bundler is installed
system-wide but you change into an rbenv with an older version, the
alias will no longer work.
2013-12-02 10:51:25 -05:00