1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-25 22:01:58 +00:00
Commit graph

81 commits

Author SHA1 Message Date
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
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à
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
Denis
bee79f0871 bundle outdated alias 2015-11-16 01:33:20 +03: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
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
Sabarish Kumar R
27f9747143 bundle plugin throwing error when bundle is not in path while initializing 2013-11-12 12:31:13 +05:30
Kevin Bongart
7567fd7f27 Re-add whitespace 2013-10-25 12:01:28 -04:00
Kevin Bongart
03dc3a8463 Add command blacklist support to bundler plugin 2013-10-25 11:54:56 -04:00
Maxim Dobryakov
e8c3619486 Check bundler version to avoid error with unsupported command line arguments 2013-09-24 13:58:48 +04:00
Robby Russell
91c9d98bd8 Merge pull request #2066 from agronemann/patch-1
Update bundler.plugin.zsh
2013-09-19 06:49:28 -07:00
Stanislav Mekhonoshin
69ce2362d6 Support of parallel bundle install 2013-09-05 20:22:46 +04:00
Alexander Gronemann
958c847f54 Update bundler.plugin.zsh
Added taps to bundled_commands
2013-08-29 16:20:40 +02:00
Charles Johnson
ec177659df Update bundler.plugin.zsh
Added strainer & tailor to commands in bundler plugin.
2013-06-06 14:37:39 -06:00
Charles Johnson
1e86e65e3a Update bundler.plugin.zsh
Added berks, foodcritic, kitchen, and knife commands to bundler plugin.
2013-06-06 13:34:36 -06:00
Robby Russell
ffc6ae937c Spin to bundler 2013-04-23 21:25:03 -07:00
Robby Russell
8ce587ad9a Resolving conflict when merging in #528 2013-04-23 20:58:30 -07:00
Tobias Sjösten
680302c9f6 Added 'jekyll' to list of bundled commands 2013-04-23 09:35:27 +03:00
Simeon F. Willbanks
c89afd2f6a Fixes #1485 zeus should not be bundled 2013-03-27 08:07:24 -07:00
thisiskun
a09cd713b4 add unbundled command 2012-12-24 17:27:23 +08:00
Weston Platter
f3fea45dd2 fixes #1474 add zeus to bundle exec listx 2012-12-06 18:30:15 -06:00