mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Bundler plugin - Fix support of parallel bundle install for older versions
This commit is contained in:
parent
c79e5a97a9
commit
f163393166
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
alias be="bundle exec"
|
||||
alias bi="bundle install"
|
||||
alias bl="bundle list"
|
||||
alias bp="bundle package"
|
||||
alias bo="bundle open"
|
||||
|
|
@ -10,7 +11,7 @@ then
|
|||
else
|
||||
local cores_num="$(nproc)"
|
||||
fi
|
||||
eval "alias bi='bundle install --jobs=$cores_num'"
|
||||
export BUNDLE_JOBS=$cores_num
|
||||
|
||||
# The following is based on https://github.com/gma/bundler-exec
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue