Commit 5931f643 authored by Tima Maslyuchenko's avatar Tima Maslyuchenko
Browse files

sanitized code according to coding style

parent e9a9deac
function is_homebrew_installed() {
_homebrew-installed() {
type brew &> /dev/null
}
function is_rbenv_installed() {
_rbenv-from-homebrew-installed() {
brew --prefix rbenv &> /dev/null
}
FOUND_RBENV=0
rbenvdirs=("$HOME/.rbenv" "/usr/local/rbenv" "/opt/rbenv")
if is_homebrew_installed && is_rbenv_installed ; then
if _homebrew-installed && _rbenv-from-homebrew-installed ; then
rbenvdirs=($(brew --prefix rbenv) "${rbenvdirs[@]}")
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment