mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge f3a280fc1e into 66a33b80c3
This commit is contained in:
commit
f7169b805e
1 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ _run-with-bundler() {
|
|||
fi
|
||||
}
|
||||
|
||||
if _bundler-installed; then
|
||||
if [ _bundler-installed ]; then
|
||||
bundler_version=`bundle version | cut -d' ' -f3`
|
||||
if [[ $bundler_version > '1.4.0' || $bundler_version = '1.4.0' ]]; then
|
||||
if [[ "$(uname)" == 'Darwin' ]]
|
||||
|
|
@ -52,7 +52,7 @@ if _bundler-installed; then
|
|||
eval "function bundled_$cmd () { _run-with-bundler $cmd \$@}"
|
||||
alias $cmd=bundled_$cmd
|
||||
|
||||
if which _$cmd > /dev/null 2>&1; then
|
||||
if [ which _$cmd > /dev/null 2>&1 ]; then
|
||||
compdef _$cmd bundled_$cmd=$cmd
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue